C# Class ComponentFactory.Krypton.Toolkit.ButtonSpecToContent

Map button spec tooltip value to content values.
Inheritance: IContentValues
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

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

Method Details

ButtonSpecToContent() public méthode

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

GetImage() public méthode

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
Résultat Image

GetImageTransparentColor() public méthode

Gets the image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image is needed.
Résultat Color

GetLongText() public méthode

Gets the content long text.
public GetLongText ( ) : string
Résultat string

GetShortText() public méthode

Gets the content short text.
public GetShortText ( ) : string
Résultat string