C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonKeyTip

View for drawing an individual key tip.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewDrawDocker, IContentValues
Show file Open project: Cocotteseb/Krypton

Public Methods

Method Description
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.

ViewDrawRibbonKeyTip ( KeyTipInfo keyTipInfo, IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteContent paletteContent ) : System

Initialize a new instance of the ViewDrawRibbonKeyTip class.

Method Details

GetImage() public method

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

GetImageTransparentColor() public method

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

GetLongText() public method

Gets the content long text.
public GetLongText ( ) : string
return string

GetShortText() public method

Gets the content short text.
public GetShortText ( ) : string
return string

ViewDrawRibbonKeyTip() public method

Initialize a new instance of the ViewDrawRibbonKeyTip class.
public ViewDrawRibbonKeyTip ( KeyTipInfo keyTipInfo, IPaletteBack paletteBack, IPaletteBorder paletteBorder, IPaletteContent paletteContent ) : System
keyTipInfo KeyTipInfo Key tip information to display.
paletteBack IPaletteBack Background palette for appearance.
paletteBorder IPaletteBorder Border palette for appearance.
paletteContent IPaletteContent Content palette for appearance.
return System