C# Class ComponentFactory.Krypton.Ribbon.AppButtonToolTipToContent

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

Méthodes publiques

Méthode Description
AppButtonToolTipToContent ( KryptonRibbon ribbon ) : System

Initialize a new instance of the AppButtonToolTipToContent 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

AppButtonToolTipToContent() public méthode

Initialize a new instance of the AppButtonToolTipToContent class.
public AppButtonToolTipToContent ( KryptonRibbon ribbon ) : System
ribbon KryptonRibbon Reference to owning ribbon 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