C# Class ComponentFactory.Krypton.Toolkit.LabelValues

Storage for label content value information.
Inheritance: Storage, IContentValues
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeExtraText bool
ShouldSerializeImage bool
ShouldSerializeImageTransparentColor bool
ShouldSerializeText bool

Public Methods

Method Description
GetImage ( PaletteState state ) : Image

Gets the content image.

GetImageTransparentColor ( PaletteState state ) : Color

Gets the content image transparent color.

GetLongText ( ) : string

Gets the content long text.

GetShortText ( ) : string

Gets the content short text.

LabelValues ( NeedPaintHandler needPaint ) : System

Initialize a new instance of the LabelValues class.

ResetExtraText ( ) : void

Resets the Description property to its default value.

ResetImage ( ) : void

Resets the Image property to its default value.

ResetImageTransparentColor ( ) : void

Resets the ImageTransparentColor property to its default value.

ResetText ( ) : void

Resets the Text property to its default value.

Private Methods

Method Description
ShouldSerializeExtraText ( ) : bool
ShouldSerializeImage ( ) : bool
ShouldSerializeImageTransparentColor ( ) : bool
ShouldSerializeText ( ) : bool

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 content image transparent color.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image color 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

LabelValues() public method

Initialize a new instance of the LabelValues class.
public LabelValues ( NeedPaintHandler needPaint ) : System
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

ResetExtraText() public method

Resets the Description property to its default value.
public ResetExtraText ( ) : void
return void

ResetImage() public method

Resets the Image property to its default value.
public ResetImage ( ) : void
return void

ResetImageTransparentColor() public method

Resets the ImageTransparentColor property to its default value.
public ResetImageTransparentColor ( ) : void
return void

ResetText() public method

Resets the Text property to its default value.
public ResetText ( ) : void
return void