[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.DropDownCalculator.SetButtonStyle

SetButtonStyle Method

SetButtonStyle(KeyGroups, CalculatorButtonStyle)

Drawn the defined group with the style.

Declaration
public void SetButtonStyle(KeyGroups groups, CalculatorButtonStyle style)
Public Sub SetButtonStyle(groups As KeyGroups, style As CalculatorButtonStyle)
Parameters
Type Name Description
KeyGroups groups

One of the KeyGroups values.

CalculatorButtonStyle style

A CalculatorButtonStyle used to draw the given group.

Remarks

This method applies a special CalculatorButtonStyle settings to a KeyGroups for displaying.

SetButtonStyle(KeyGroups, Color, Color, TextEffect)

Drawn the defined group with the given style elements.

Declaration
public void SetButtonStyle(KeyGroups groups, Color foreColor, Color backColor, TextEffect textEffect)
Public Sub SetButtonStyle(groups As KeyGroups, foreColor As Color, backColor As Color, textEffect As TextEffect)
Parameters
Type Name Description
KeyGroups groups

One of the KeyGroups values.

Color foreColor

The foreground color.

Color backColor

The background color.

TextEffect textEffect

One of the TextEffect values.

Remarks

This method applies the forecolor, the backcolor and the TextEffect settings to a KeyGroups for displaying.