C# Class ComponentFactory.Krypton.Toolkit.HeaderValuesBase

Storage for header content value information.
Inheritance: Storage, IContentValues
Afficher le fichier Open project: ComponentFactory/Krypton

Private Properties

Свойство Type Description
ShouldSerializeDescription bool
ShouldSerializeHeading bool
ShouldSerializeImage bool
ShouldSerializeImageTransparentColor 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.

ResetDescription ( ) : void

Resets the Description property to its default value.

ResetHeading ( ) : void

Resets the Heading 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.

Méthodes protégées

Méthode Description
GetDescriptionDefault ( ) : string

Gets the default description value.

GetHeadingDefault ( ) : string

Gets the default heading value.

GetImageDefault ( ) : Image

Gets the default image value.

HeaderValuesBase ( NeedPaintHandler needPaint ) : System

Initialize a new instance of the HeaderValuesBase class.

Private Methods

Méthode Description
ShouldSerializeDescription ( ) : bool
ShouldSerializeHeading ( ) : bool
ShouldSerializeImage ( ) : bool
ShouldSerializeImageTransparentColor ( ) : bool

Method Details

GetDescriptionDefault() protected abstract méthode

Gets the default description value.
protected abstract GetDescriptionDefault ( ) : string
Résultat string

GetHeadingDefault() protected abstract méthode

Gets the default heading value.
protected abstract GetHeadingDefault ( ) : string
Résultat string

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

GetImageDefault() protected méthode

Gets the default image value.
protected GetImageDefault ( ) : Image
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

HeaderValuesBase() protected méthode

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

ResetDescription() public méthode

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

ResetHeading() public méthode

Resets the Heading property to its default value.
public ResetHeading ( ) : 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