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

Overrides for defining typed button specifications.
Наследование: KryptonPaletteButtonSpecBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
KryptonPaletteButtonSpecTyped System
OnImageStateChanged void
ShouldSerializeColorMap bool
ShouldSerializeExtraText bool
ShouldSerializeImage bool
ShouldSerializeImageStates bool
ShouldSerializeText bool
ShouldSerializeToolTipTitle bool

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

Метод Описание
GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color

Gets the color to remap from the image to the container foreground.

GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image

Gets the image to display for the button.

GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string

Gets the long text to display for the button.

GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string

Gets the short text to display for the button.

GetButtonSpecToolTipTitle ( PaletteButtonSpecStyle style ) : string

Gets the tooltip title text to display for the button.

PopulateFromBase ( PaletteButtonSpecStyle style ) : void

Populate values from the base palette.

ResetAllowInheritExtraText ( ) : void

Resets the AllowInheritExtraText property to its default value.

ResetAllowInheritImage ( ) : void

Resets the AllowInheritImage property to its default value.

ResetAllowInheritText ( ) : void

Resets the AllowInheritText property to its default value.

ResetAllowInheritToolTipTitle ( ) : void

Resets the AllowInheritToolTipTitle property to its default value.

ResetColorMap ( ) : void

Resets the ColorMap property to its default value.

ResetExtraText ( ) : void

Resets the ExtraText property to its default value.

ResetImage ( ) : void

Resets the Image property to its default value.

ResetText ( ) : void

Resets the Text property to its default value.

ResetToolTipTitle ( ) : void

Resets the ToolTipTitle property to its default value.

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

Метод Описание
KryptonPaletteButtonSpecTyped ( PaletteRedirect redirector ) : System

Initialize a new instance of the KryptonPaletteButtonSpecCommon class.

OnImageStateChanged ( object sender, NeedLayoutEventArgs e ) : void
ShouldSerializeColorMap ( ) : bool
ShouldSerializeExtraText ( ) : bool
ShouldSerializeImage ( ) : bool
ShouldSerializeImageStates ( ) : bool
ShouldSerializeText ( ) : bool
ShouldSerializeToolTipTitle ( ) : bool

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

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

Gets the color to remap from the image to the container foreground.
public GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Результат Color

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

Gets the image to display for the button.
public GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image
style PaletteButtonSpecStyle Style of button spec.
state PaletteState State for which image is required.
Результат Image

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

Gets the long text to display for the button.
public GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Результат string

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

Gets the short text to display for the button.
public GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Результат string

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

Gets the tooltip title text to display for the button.
public GetButtonSpecToolTipTitle ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Результат string

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

Populate values from the base palette.
public PopulateFromBase ( PaletteButtonSpecStyle style ) : void
style PaletteButtonSpecStyle The style of the button spec instance.
Результат void

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

Resets the AllowInheritExtraText property to its default value.
public ResetAllowInheritExtraText ( ) : void
Результат void

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

Resets the AllowInheritImage property to its default value.
public ResetAllowInheritImage ( ) : void
Результат void

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

Resets the AllowInheritText property to its default value.
public ResetAllowInheritText ( ) : void
Результат void

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

Resets the AllowInheritToolTipTitle property to its default value.
public ResetAllowInheritToolTipTitle ( ) : void
Результат void

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

Resets the ColorMap property to its default value.
public ResetColorMap ( ) : void
Результат void

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

Resets the ExtraText property to its default value.
public ResetExtraText ( ) : void
Результат void

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

Resets the Image property to its default value.
public ResetImage ( ) : void
Результат void

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

Resets the Text property to its default value.
public ResetText ( ) : void
Результат void

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

Resets the ToolTipTitle property to its default value.
public ResetToolTipTitle ( ) : void
Результат void