| ThemeImageBorder Property |
Gets or sets the border that defines the 9-grid layout for image stretching.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public Vector4F Border { get; set; }
Public Property Border As Vector4F
Get
Set
public:
property Vector4F Border {
Vector4F get ();
void set (Vector4F value);
}
member Border : Vector4F with get, set
Property Value
Type:
Vector4FThe border that defines the 9-grid layout.
Remarks
When the alignment is set to Stretch, the image will be stretched to fill the control
area. A typical 9-grid scaling is applied and the Border defines the
left/right/top/bottom margins. The left-top, left-bottom, right-top and right-bottom parts
of the image will not be stretched. The center-top and center-bottom parts will be stretched
horizontally. The left-center and right-center parts will be stretched vertically. The
center part will be stretched horizontally and vertically.
See Also