Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / SummaryRowReportStyle Class / StatFieldTopBorder Property


In This Topic
    StatFieldTopBorder Property
    In This Topic
    Gets the report style of the top border of the Xceed.Grid.SummaryCells in the row which have a StatFunction defined.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The report style of the top border of the summary cells which have a statistical function defined.")>
    <CategoryAttribute("Appearance")>
    <TypeConverterAttribute(Xceed.Grid.Reporting.Design.ReportLineConverter)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
    <EndUserDisplayNameAttribute("Line Above Summaries")>
    <XmlIgnoreAttribute()>
    Public ReadOnly Property StatFieldTopBorder As ReportLine
    'Usage
     
    Dim instance As SummaryRowReportStyle
    Dim value As ReportLine
     
    value = instance.StatFieldTopBorder
    [Description("The report style of the top border of the summary cells which have a statistical function defined.")]
    [Category("Appearance")]
    [TypeConverter(Xceed.Grid.Reporting.Design.ReportLineConverter)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    [EndUserDisplayName("Line Above Summaries")]
    [XmlIgnore()]
    public ReportLine StatFieldTopBorder {get;}

    Property Value

    A ReportLine representing the report style of the top border of the Xceed.Grid.SummaryCells in the row which have a StatFunction defined.
    Remarks

    The StatFieldTopBorder property only applies to Xceed.Grid.SummaryCells whose StatFunction property has been defined.

    If the TopBorder of the parent row is defined, it will replace the StatFieldTopBorder.

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