C# Class ComponentFactory.Krypton.Toolkit.ButtonSpecRemapByContentCache

Redirect requests for image/text colors to remap.
Inheritance: ButtonSpecRemapByContentBase
Datei anzeigen Open project: ComponentFactory/Krypton

Public Methods

Method Description
ButtonSpecRemapByContentCache ( IPalette target, ButtonSpec buttonSpec ) : System

Initialize a new instance of the ButtonSpecRemapByContentCache class.

SetPaletteContent ( IPaletteContent paletteContent ) : void

Set the palette content to use for remapping.

SetPaletteState ( PaletteState paletteState ) : void

Set the palette state of the remapping element.

Method Details

ButtonSpecRemapByContentCache() public method

Initialize a new instance of the ButtonSpecRemapByContentCache class.
public ButtonSpecRemapByContentCache ( IPalette target, ButtonSpec buttonSpec ) : System
target IPalette Initial palette target for redirection.
buttonSpec ButtonSpec Reference to button specification.
return System

SetPaletteContent() public method

Set the palette content to use for remapping.
public SetPaletteContent ( IPaletteContent paletteContent ) : void
paletteContent IPaletteContent Palette for requesting foreground colors.
return void

SetPaletteState() public method

Set the palette state of the remapping element.
public SetPaletteState ( PaletteState paletteState ) : void
paletteState PaletteState Palette state.
return void