Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / RowReportStyle Class / ResetTopBorder Method


In This Topic
    ResetTopBorder Method (RowReportStyle)
    In This Topic
    Resets the property values of the TopBorder report style.
    Syntax
    'Declaration
     
    Public Sub ResetTopBorder() 
    'Usage
     
    Dim instance As RowReportStyle
     
    instance.ResetTopBorder()
    public void ResetTopBorder()
    Remarks

    Calling the ResetTopBorder method will set the TopBorder property to a null reference (Nothing in Visual Basic) causing a new ReportLine to be created when the TopBorder property is accessed.

    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