C# Class ComponentFactory.Krypton.Toolkit.KryptonPaletteButtonSpecTyped

Overrides for defining typed button specifications.
Inheritance: KryptonPaletteButtonSpecBase
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
KryptonPaletteButtonSpecTyped System
OnImageStateChanged void
ShouldSerializeColorMap bool
ShouldSerializeExtraText bool
ShouldSerializeImage bool
ShouldSerializeImageStates bool
ShouldSerializeText bool
ShouldSerializeToolTipTitle bool

Méthodes publiques

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

Private Methods

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

Method Details

GetButtonSpecColorMap() public méthode

Gets the color to remap from the image to the container foreground.
public GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Résultat Color

GetButtonSpecImage() public méthode

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

GetButtonSpecLongText() public méthode

Gets the long text to display for the button.
public GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Résultat string

GetButtonSpecShortText() public méthode

Gets the short text to display for the button.
public GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Résultat string

GetButtonSpecToolTipTitle() public méthode

Gets the tooltip title text to display for the button.
public GetButtonSpecToolTipTitle ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Résultat string

PopulateFromBase() public méthode

Populate values from the base palette.
public PopulateFromBase ( PaletteButtonSpecStyle style ) : void
style PaletteButtonSpecStyle The style of the button spec instance.
Résultat void

ResetAllowInheritExtraText() public méthode

Resets the AllowInheritExtraText property to its default value.
public ResetAllowInheritExtraText ( ) : void
Résultat void

ResetAllowInheritImage() public méthode

Resets the AllowInheritImage property to its default value.
public ResetAllowInheritImage ( ) : void
Résultat void

ResetAllowInheritText() public méthode

Resets the AllowInheritText property to its default value.
public ResetAllowInheritText ( ) : void
Résultat void

ResetAllowInheritToolTipTitle() public méthode

Resets the AllowInheritToolTipTitle property to its default value.
public ResetAllowInheritToolTipTitle ( ) : void
Résultat void

ResetColorMap() public méthode

Resets the ColorMap property to its default value.
public ResetColorMap ( ) : void
Résultat void

ResetExtraText() public méthode

Resets the ExtraText property to its default value.
public ResetExtraText ( ) : void
Résultat void

ResetImage() public méthode

Resets the Image property to its default value.
public ResetImage ( ) : void
Résultat void

ResetText() public méthode

Resets the Text property to its default value.
public ResetText ( ) : void
Résultat void

ResetToolTipTitle() public méthode

Resets the ToolTipTitle property to its default value.
public ResetToolTipTitle ( ) : void
Résultat void