Spread Windows Forms 11.0 Product Documentation
VisualStyles Property (StyleInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : VisualStyles Property
Gets or sets whether visual styles are on or off for the cell.
Syntax
'Declaration
 
Public Overridable Property VisualStyles As VisualStyles
'Usage
 
Dim instance As StyleInfo
Dim value As VisualStyles
 
instance.VisualStyles = value
 
value = instance.VisualStyles
public virtual VisualStyles VisualStyles {get; set;}
Example
This example returns whether the setting for visual styles 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