Spread Windows Forms 12.0 Product Documentation
ResetVisualStyles Method (StyleInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : ResetVisualStyles Method
Resets the visual styles (XP themes) for the style to the default.
Syntax
'Declaration
 
Public Overridable Sub ResetVisualStyles() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetVisualStyles()
public virtual void ResetVisualStyles()
Example
This example resets the setting of visual styles (XP themes).
Dim si As New FarPoint.Win.Spread.StyleInfo
si.ResetVisualStyle
fpSpread1.ActiveSheet.DefaultStyle = si;
Dim si As New FarPoint.Win.Spread.StyleInfo
si.ResetVisualStyle
fpSpread1.ActiveSheet.DefaultStyle = si;
See Also

Reference

StyleInfo Class
StyleInfo Members