Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / Skin Property
Example


In This Topic
    Skin Property (FpSpread)
    In This Topic
    Gets or sets the skin for the spread.
    Syntax
    'Declaration
     
    Public Property Skin As SpreadSkin
    'Usage
     
    Dim instance As FpSpread
    Dim value As SpreadSkin
     
    instance.Skin = value
     
    value = instance.Skin
    public SpreadSkin Skin {get; set;}
    Example
    This example applies the default skin to the spreadsheet.
    FarPoint.Win.Spread.SpreadSkin sk = fpSpread1.Skin;
    foreach (sk in FarPoint.Win.Spread.DefaultSpreadSkins.Skins) 
    {
    if (sk.Name == "Default") 
    {
    sk.Apply(fpSpread1);
    }
    }
    
    Dim sk As FarPoint.Win.Spread.SpreadSkin = FpSpread1.Skin
    For Each sk In FarPoint.Win.Spread.DefaultSpreadSkins.Skins
    If sk.Name = "Default" Then
    sk.Apply(FpSpread1)
    End If
    Next
    
    See Also