Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridElement Class / Alignment Property


In This Topic
    Alignment Property
    In This Topic
    Gets the alignment of the element's content.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    Public ReadOnly Property Alignment As ContentAlignment
    'Usage
     
    Dim instance As GridElement
    Dim value As ContentAlignment
     
    value = instance.Alignment
    [Browsable(false)]
    public ContentAlignment Alignment {get;}

    Property Value

    A System.Drawing.ContentAlignment value representing the combination of the HorizontalAlignment and VerticalAlignment properties.
    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