Xceed Grid for WinForms v4.3 Documentation
ResetReportStyle Method (GridElement)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridElement Class : ResetReportStyle Method
Resets the property values of the ReportStyle.
Syntax
'Declaration
 
Public Sub ResetReportStyle() 
'Usage
 
Dim instance As GridElement

 

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.GridElementReportStyle 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.GridElementReportStyle 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

Reference

GridElement Class
GridElement Members