Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / HorizontalAlignment Property


In This Topic
    HorizontalAlignment Property (GridControl)
    In This Topic
    Gets or sets the horizontal alignment of the grid's content.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The horizontal alignment of the grid's content.")>
    <CategoryAttribute("Appearance")>
    <AmbientValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <LocalizableAttribute(True)>
    <ApplyToDesignerAttribute(True)>
    Public Property HorizontalAlignment As HorizontalAlignment
    'Usage
     
    Dim instance As GridControl
    Dim value As HorizontalAlignment
     
    instance.HorizontalAlignment = value
     
    value = instance.HorizontalAlignment
    [Description("The horizontal alignment of the grid's content.")]
    [Category("Appearance")]
    [AmbientValue(Mono.Cecil.CustomAttributeArgument)]
    [Localizable(true)]
    [ApplyToDesigner(true)]
    public HorizontalAlignment HorizontalAlignment {get; set;}

    Property Value

    A HorizontalAlignment value representing the horizontal alignment of the grid's content.
    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