C# Class ComponentFactory.Krypton.Navigator.PageToToolTipMapping

Map tooltip values from a source page.
Inheritance: IContentValues
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

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.

PageToToolTipMapping ( KryptonPage page, MapKryptonPageImage mapImage, MapKryptonPageText mapText, MapKryptonPageText mapExtraText ) : System

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

PageToToolTipMapping() public method

Initialize a new instance of the PageToToolTipMapping class.
public PageToToolTipMapping ( KryptonPage page, MapKryptonPageImage mapImage, MapKryptonPageText mapText, MapKryptonPageText mapExtraText ) : System
page KryptonPage Page to source values from.
mapImage MapKryptonPageImage How to map the image from the page to the tooltip.
mapText MapKryptonPageText How to map the text from the page to the tooltip.
mapExtraText MapKryptonPageText How to map the extra text from the page to the tooltip.
return System