C# Class ComponentFactory.Krypton.Toolkit.KryptonListItem

Inheritance: System.ComponentModel.Component, IContentValues
Afficher le fichier Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Свойство Type Description
ShouldSerializeImage bool
ShouldSerializeImageTransparentColor bool
ShouldSerializeLongText bool
ShouldSerializeShortText bool

Méthodes publiques

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

KryptonListItem ( ) : System

Initialize a new instance of the KryptonListItem class.

KryptonListItem ( string shortText ) : System

Initialize a new instance of the KryptonListItem class.

KryptonListItem ( string shortText, string longText ) : System

Initialize a new instance of the KryptonListItem class.

KryptonListItem ( string shortText, string longText, Image image ) : System

Initialize a new instance of the KryptonListItem class.

KryptonListItem ( string shortText, string longText, Image image, Color imageTransparentColor ) : System

Initialize a new instance of the KryptonListItem class.

ToString ( ) : string

Gets the string representation of the object.

Méthodes protégées

Méthode Description
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

Private Methods

Méthode Description
ShouldSerializeImage ( ) : bool
ShouldSerializeImageTransparentColor ( ) : bool
ShouldSerializeLongText ( ) : bool
ShouldSerializeShortText ( ) : 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 image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image 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

KryptonListItem() public méthode

Initialize a new instance of the KryptonListItem class.
public KryptonListItem ( ) : System
Résultat System

KryptonListItem() public méthode

Initialize a new instance of the KryptonListItem class.
public KryptonListItem ( string shortText ) : System
shortText string Initial short text value.
Résultat System

KryptonListItem() public méthode

Initialize a new instance of the KryptonListItem class.
public KryptonListItem ( string shortText, string longText ) : System
shortText string Initial short text value.
longText string Initial long text value.
Résultat System

KryptonListItem() public méthode

Initialize a new instance of the KryptonListItem class.
public KryptonListItem ( string shortText, string longText, Image image ) : System
shortText string Initial short text value.
longText string Initial long text value.
image Image Initial image value.
Résultat System

KryptonListItem() public méthode

Initialize a new instance of the KryptonListItem class.
public KryptonListItem ( string shortText, string longText, Image image, Color imageTransparentColor ) : System
shortText string Initial short text value.
longText string Initial long text value.
image Image Initial image value.
imageTransparentColor Color Initial transparent image color.
Résultat System

OnPropertyChanged() protected méthode

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs containing the event data.
Résultat void

ToString() public méthode

Gets the string representation of the object.
public ToString ( ) : string
Résultat string