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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : IsVisualStyleSet Method
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()
See Also

Reference

StyleInfo Class
StyleInfo Members