Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / VisualStyles Property
Example


In This Topic
    VisualStyles Property (Cell)
    In This Topic
    Gets or sets the setting of visual styles (XP themes) for the cell.
    Syntax
    'Declaration
     
    Public Property VisualStyles As VisualStyles
    'Usage
     
    Dim instance As Cell
    Dim value As VisualStyles
     
    instance.VisualStyles = value
     
    value = instance.VisualStyles
    public VisualStyles VisualStyles {get; set;}

    Property Value

    VisualStyles setting that specifies if the visual styles setting is turned on
    Example
    This example sets the setting of visual styles (XP themes) for the cell.
    fpSpread1.ActiveSheet.Cells[0, 0].VisualStyles = FarPoint.Win.VisualStyles.On;
    fpSpread1.ActiveSheet.Cells(0, 0).VisualStyles = FarPoint.Win.VisualStyles.On
    See Also