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

Map button spec tooltip value to content values.
Наследование: IContentValues
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ButtonSpecToContent ( IPalette palette, ButtonSpec buttonSpec ) : System

Initialize a new instance of the PageToTooltipMapping class.

GetImage ( PaletteState state ) : Image

Gets the content image.

GetImageTransparentColor ( PaletteState state ) : Color

Gets the image color that should be transparent.

GetLongText ( ) : string

Gets the content long text.

GetShortText ( ) : string

Gets the content short text.

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

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

Initialize a new instance of the PageToTooltipMapping class.
public ButtonSpecToContent ( IPalette palette, ButtonSpec buttonSpec ) : System
palette IPalette Palette for sourcing information.
buttonSpec ButtonSpec Source button spec instance.
Результат System

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

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
Результат Image

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

Gets the image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image is needed.
Результат Color

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

Gets the content long text.
public GetLongText ( ) : string
Результат string

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

Gets the content short text.
public GetShortText ( ) : string
Результат string