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


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

    Property Value

    A VerticalAlignment value representing the vertical alignment of the grid element's content.
    Remarks

    If the IsVerticalAlignmentAmbient property returns true, then the value of the VerticalAlignment property is inherited from its parent.

    To reset the value of the VerticalAlignment property to its default value, DefaultVerticalAlignment, the ResetVerticalAlignment 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