C# Class ComponentFactory.Krypton.Toolkit.LabelValues

Storage for label content value information.
Inheritance: Storage, IContentValues
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
ShouldSerializeExtraText bool
ShouldSerializeImage bool
ShouldSerializeImageTransparentColor bool
ShouldSerializeText bool

Méthodes publiques

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

Méthode Description
ShouldSerializeExtraText ( ) : bool
ShouldSerializeImage ( ) : bool
ShouldSerializeImageTransparentColor ( ) : bool
ShouldSerializeText ( ) : bool

Method Details

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

LabelValues() public méthode

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

ResetExtraText() public méthode

Resets the Description property to its default value.
public ResetExtraText ( ) : void
Résultat void

ResetImage() public méthode

Resets the Image property to its default value.
public ResetImage ( ) : void
Résultat void

ResetImageTransparentColor() public méthode

Resets the ImageTransparentColor property to its default value.
public ResetImageTransparentColor ( ) : void
Résultat void

ResetText() public méthode

Resets the Text property to its default value.
public ResetText ( ) : void
Résultat void