| UIControlHorizontalAlignment Property |
Gets or sets the horizontal alignment of this control.
This is a game object property.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public HorizontalAlignment HorizontalAlignment { get; set; }
Public Property HorizontalAlignment As HorizontalAlignment
Get
Set
public:
property HorizontalAlignment HorizontalAlignment {
HorizontalAlignment get ();
void set (HorizontalAlignment value);
}
member HorizontalAlignment : HorizontalAlignment with get, set
Property Value
Type:
HorizontalAlignmentThe horizontal alignment.
Remarks
When both a
Width and a
HorizontalAlignment of
Stretch are set, then the explicitly set width has
priority and horizontal alignment will be ignored.
See Also