Xceed Grid for WinForms v4.3 Documentation
HorizontalAlignment Property (GroupMargin)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GroupMargin Class : HorizontalAlignment Property
Gets or sets the horizontal alignment of the grid element's content.
Syntax
'Declaration
 
<DescriptionAttribute("The horizontal alignment of the grid element's content.")>
<CategoryAttribute("Appearance")>
<AmbientValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<LocalizableAttribute(True)>
<ApplyToDesignerAttribute(True)>
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Shadows Property HorizontalAlignment As HorizontalAlignment
'Usage
 
Dim instance As GroupMargin
Dim value As HorizontalAlignment
 
instance.HorizontalAlignment = value
 
value = instance.HorizontalAlignment
[Description("The horizontal alignment of the grid element's content.")]
[Category("Appearance")]
[AmbientValue(Mono.Cecil.CustomAttributeArgument)]
[Localizable(true)]
[ApplyToDesigner(true)]
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public new HorizontalAlignment HorizontalAlignment {get; set;}

Property Value

A HorizontalAlignment value representing the horizontal alignment of the grid element's content.
Remarks

If the IsHorizontalAlignmentAmbient property returns true, then the value of the HorizontalAlignment property is inherited from its parent.

To reset the value of the HorizontalAlignment property to its default value, DefaultHorizontalAlignment, the ResetHorizontalAlignment method must be called.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GroupMargin Class
GroupMargin Members
VerticalAlignment Property