Spread Windows Forms 12.0 Product Documentation
VisualStyles Property (FpSpread)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : VisualStyles Property
Gets or sets whether to use visual styles when rendering objects in the component.
Public Property VisualStyles As VisualStyles
Dim instance As FpSpread
Dim value As VisualStyles
instance.VisualStyles = value
value = instance.VisualStyles
public VisualStyles VisualStyles {get; set;}

Property Value

VisualStyles setting that determines the visual appearance
This property is used on controls that Spread renders, such as a button in a button type cell (ButtonCellType). For controls that are rendered by something other than Spread, such as the scroll bars, which are children controls rendered by Visual Studio (not by Spread), you must set up a manifest for your application to have them render with XP themes.
This example sets the VisualStyles property.
fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.On;
FpSpread1.VisualStyles = FarPoint.Win.VisualStyles.On
See Also


FpSpread Class
FpSpread Members

User-Task Documentation

Using XP Themes