Spread Windows Forms 8.0 Product Documentation
IsVisualStyleSet Method
Example 


Gets whether visual styles are on (VisualStyles property set) for a cell.
Syntax
'Declaration
 
Public Overridable Function IsVisualStyleSet() As Boolean
'Usage
 
Dim instance As StyleInfo
Dim value As Boolean
 
value = instance.IsVisualStyleSet()
public virtual bool IsVisualStyleSet()
Example
This example returns whether the visual styles setting is set.
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); 
si.VisualStyles = true; 
fpSpread1.ActiveSheet.DefaultStyle = si; 
bool b; 
b = si.IsVisualStyleSet();
Dim si As New FarPoint.Win.Spread.StyleInfo
si.VisualStyles = True
FpSpread1.ActiveSheet.DefaultStyle = si
Dim b as Boolean
b = si.IsVisualStyleSet()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

StyleInfo Class
StyleInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.