Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / RowReportStyle Class / TopBorder Property


In This Topic
    TopBorder Property (RowReportStyle)
    In This Topic
    Gets the report style of the row's top border.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The report style of the row's top border.")>
    <CategoryAttribute("Appearance")>
    <TypeConverterAttribute(Xceed.Grid.Reporting.Design.ReportLineConverter)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
    <EndUserDisplayNameAttribute("Line Above")>
    <XmlIgnoreAttribute()>
    Public ReadOnly Property TopBorder As ReportLine
    'Usage
     
    Dim instance As RowReportStyle
    Dim value As ReportLine
     
    value = instance.TopBorder
    [Description("The report style of the row's top border.")]
    [Category("Appearance")]
    [TypeConverter(Xceed.Grid.Reporting.Design.ReportLineConverter)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    [EndUserDisplayName("Line Above")]
    [XmlIgnore()]
    public ReportLine TopBorder {get;}

    Property Value

    A ReportLine representing the report style of row's top border.
    Remarks

    The IsTopBorderDefined property should be consulted before the TopBorder property is accessed to prevent a new instance of a ReportLine from being created in the case where none of the properties of the TopBorder report style have 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