Xceed Grid for WinForms v4.3 Documentation
TopBorder Property (HeaderFooter)


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > HeaderFooter Class : TopBorder Property
Gets the report style of the header or footer's top border.
Syntax
'Declaration
 
<DescriptionAttribute("The report style of the header or footer'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 HeaderFooter
Dim value As ReportLine
 
value = instance.TopBorder
[Description("The report style of the header or footer'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 the header or footer'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

Reference

HeaderFooter Class
HeaderFooter Members