Xceed Grid for WinForms v4.3 Documentation
ResetStyle Method (GridControl)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : ResetStyle Method
Resets the values of the properties affected by the ApplyStyleSheet method to their default values.
Syntax
'Declaration
 
Public Overridable Sub ResetStyle() 
'Usage
 
Dim instance As GridControl

 

instance.ResetStyle()
public virtual void ResetStyle()
Remarks

The Font, System.Windows.Forms.Control.ForeColor, BackColor, ClipPartialLine, WordWrap, HorizontalAlignment, VerticalAlignment, Trimming, BackgroundImage, BackgroundImageAlignment, BackgroundImageStyle, BorderStyle, GridLineColor, GridLineStyle, ErrorBackColor, ErrorForeColor, SelectionBackColor, SelectionForeColor, InactiveSelectionBackColor and InactiveSelectionForeColor properties are affected by this method.

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

GridControl Class
GridControl Members