C# Class ComponentFactory.Krypton.Navigator.ButtonSpecNavRemap

Redirect requests for image/text colors to remap.
Inheritance: ComponentFactory.Krypton.Toolkit.PaletteRedirect
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GetRemapTarget ( PaletteContentStyle style, PaletteState state ) : Color
OverrideImageColor ( PaletteState state ) : Color
OverrideTextColor ( PaletteState state ) : bool

Method Details

ButtonSpecNavRemap() public méthode

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.
Résultat System

GetContentImageColorMap() public méthode

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.
Résultat Color

GetContentImageColorTo() public méthode

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.
Résultat Color

GetContentLongTextColor1() public méthode

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.
Résultat Color

GetContentShortTextColor1() public méthode

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.
Résultat Color