C# Класс ComponentFactory.Krypton.Toolkit.ButtonSpecRemapByContentCache

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

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

Метод Описание
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.

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

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

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.
Результат System

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

Set the palette content to use for remapping.
public SetPaletteContent ( IPaletteContent paletteContent ) : void
paletteContent IPaletteContent Palette for requesting foreground colors.
Результат void

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

Set the palette state of the remapping element.
public SetPaletteState ( PaletteState paletteState ) : void
paletteState PaletteState Palette state.
Результат void