C# Class ComponentFactory.Krypton.Toolkit.ColorButtonValues

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

Private Properties

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

Méthodes publiques

Méthode Description
ColorButtonValues ( NeedPaintHandler needPaint ) : System

Initialize a new instance of the ColorButtonValues class.

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.

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.

Méthodes protégées

Méthode Description
CreateImageStates ( ) : ButtonImageStates

Create the storage for the image states.

Private Methods

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

Method Details

ColorButtonValues() public méthode

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

CreateImageStates() protected méthode

Create the storage for the image states.
protected CreateImageStates ( ) : ButtonImageStates
Résultat ButtonImageStates

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

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