C# Класс ComponentFactory.Krypton.Navigator.ButtonSpecNavRemap

Redirect requests for image/text colors to remap.
Наследование: ComponentFactory.Krypton.Toolkit.PaletteRedirect
Показать файл Открыть проект

Открытые методы

Метод Описание
ButtonSpecNavRemap ( IPalette target, ButtonSpec buttonSpec, ButtonSpecRemapTarget remapTarget ) : System

Initialize a new instance of the ButtonSpecNavRemapDisabled class.

GetContentImageColorMap ( PaletteContentStyle style, PaletteState state ) : Color

Gets the image color to remap into another color.

GetContentImageColorTo ( PaletteContentStyle style, PaletteState state ) : Color

Gets the color to use in place of the image map color.

GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the long text.

GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the short text.

Приватные методы

Метод Описание
GetRemapTarget ( PaletteContentStyle style, PaletteState state ) : Color
OverrideImageColor ( PaletteState state ) : Color
OverrideTextColor ( PaletteState state ) : bool

Описание методов

ButtonSpecNavRemap() публичный Метод

Initialize a new instance of the ButtonSpecNavRemapDisabled class.
public ButtonSpecNavRemap ( IPalette target, ButtonSpec buttonSpec, ButtonSpecRemapTarget remapTarget ) : System
target IPalette Initial palette target for redirection.
buttonSpec ComponentFactory.Krypton.Toolkit.ButtonSpec Reference to button specification.
remapTarget ButtonSpecRemapTarget Target for remapping the color onto.
Результат System

GetContentImageColorMap() публичный Метод

Gets the image color to remap into another color.
public GetContentImageColorMap ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentImageColorTo() публичный Метод

Gets the color to use in place of the image map color.
public GetContentImageColorTo ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentLongTextColor1() публичный Метод

Gets the first back color for the long text.
public GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentShortTextColor1() публичный Метод

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color