Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / CurrentTheme Property
Example


In This Topic
    CurrentTheme Property (GcSpreadSheet)
    In This Topic
    Gets or sets the current theme information for the control.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    Public Property CurrentTheme As SpreadTheme
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim value As SpreadTheme
     
    instance.CurrentTheme = value
     
    value = instance.CurrentTheme
    [Browsable(false)]
    public SpreadTheme CurrentTheme {get; set;}
    Example
    This example sets the CurrentTheme property.
    gcSpreadSheet1.CurrentTheme = GrapeCity.Windows.SpreadSheet.Data.SpreadThemes.Trek;
    GcSpreadSheet1.CurrentTheme = GrapeCity.Windows.SpreadSheet.Data.SpreadThemes.Trek
    See Also