Click or drag to resize
DigitalRuneUIControlHorizontalAlignment Property
Gets or sets the horizontal alignment of this control. This is a game object property.

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

Type: HorizontalAlignment
The 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