Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DropDownCalculator Class / SetButtonStyle Method / SetButtonStyle(KeyGroups,Color,Color,TextEffect) Method
One of the KeyGroups values.
The foreground color.
The background color.
One of the TextEffect values.


In This Topic
    SetButtonStyle(KeyGroups,Color,Color,TextEffect) Method
    In This Topic
    Drawn the defined group with the given style elements.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetButtonStyle( _
       ByVal groups As KeyGroups, _
       ByVal foreColor As Color, _
       ByVal backColor As Color, _
       ByVal textEffect As TextEffect _
    ) 
    'Usage
     
    
    Dim instance As DropDownCalculator
    Dim groups As KeyGroups
    Dim foreColor As Color
    Dim backColor As Color
    Dim textEffect As TextEffect
     
    instance.SetButtonStyle(groups, foreColor, backColor, textEffect)
    public void SetButtonStyle( 
       KeyGroups groups,
       Color foreColor,
       Color backColor,
       TextEffect textEffect
    )

    Parameters

    groups
    One of the KeyGroups values.
    foreColor
    The foreground color.
    backColor
    The background color.
    textEffect
    One of the TextEffect values.
    Remarks
    This method applies the forecolor, the backcolor and the TextEffect settings to a KeyGroups for displaying.
    See Also