Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / ResetReportStyle Method


In This Topic
    ResetReportStyle Method (GridControl)
    In This Topic
    Resets the property values of the ReportStyle.
    Syntax
    'Declaration
     
    Public Sub ResetReportStyle() 
    'Usage
     
    Dim instance As GridControl
     
    instance.ResetReportStyle()
    public void ResetReportStyle()
    Remarks

    Calling the ResetReportStyle method will set the ReportStyle property to a null reference (Nothing in Visual Basic) causing a new Xceed.Grid.Reporting.GridControlReportStyle to be created when the ReportStyle property is accessed.

    The IsReportStyleDefined property should be consulted before the ReportStyle property is accessed to prevent a new instance of a Xceed.Grid.Reporting.GridControlReportStyle from being created in the case where none of the properties of the ReportStyle 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