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


In This Topic
    VerticalAlignment Property (GridElementReportStyle)
    In This Topic
    Gets or sets the vertical alignment that the grid element will have when it is printed in a report.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The vertical alignment of this report element's content when the report is printed.")>
    <CategoryAttribute("Appearance")>
    <LocalizableAttribute(True)>
    <EndUserDisplayNameAttribute("Vertical Alignment")>
    Public Property VerticalAlignment As VerticalAlignment
    'Usage
     
    Dim instance As GridElementReportStyle
    Dim value As VerticalAlignment
     
    instance.VerticalAlignment = value
     
    value = instance.VerticalAlignment
    [Description("The vertical alignment of this report element's content when the report is printed.")]
    [Category("Appearance")]
    [Localizable(true)]
    [EndUserDisplayName("Vertical Alignment")]
    public VerticalAlignment VerticalAlignment {get; set;}

    Property Value

    A Xceed.Grid.VerticalAlignment value representing the vertical alignment that the grid element will have when it is printed in a report. By default, VerticalAlignment.Default.
    Remarks

    The value of the VerticalAlignment property of the parent element's ReportStyle will be used in the case where the VerticalAlignment property has not been explicitly set.

    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