C# Класс ComponentFactory.Krypton.Toolkit.KryptonListItem

Наследование: System.ComponentModel.Component, IContentValues
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ShouldSerializeImage bool
ShouldSerializeImageTransparentColor bool
ShouldSerializeLongText bool
ShouldSerializeShortText bool

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

Приватные методы

Метод Описание
ShouldSerializeImage ( ) : bool
ShouldSerializeImageTransparentColor ( ) : bool
ShouldSerializeLongText ( ) : bool
ShouldSerializeShortText ( ) : bool

Описание методов

GetImage() публичный Метод

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
Результат Image

GetImageTransparentColor() публичный Метод

Gets the image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image is needed.
Результат Color

GetLongText() публичный Метод

Gets the content long text.
public GetLongText ( ) : string
Результат string

GetShortText() публичный Метод

Gets the content short text.
public GetShortText ( ) : string
Результат string

KryptonListItem() публичный Метод

Initialize a new instance of the KryptonListItem class.
public KryptonListItem ( ) : System
Результат System

KryptonListItem() публичный Метод

Initialize a new instance of the KryptonListItem class.
public KryptonListItem ( string shortText ) : System
shortText string Initial short text value.
Результат System

KryptonListItem() публичный Метод

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.
Результат System

KryptonListItem() публичный Метод

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.
Результат System

KryptonListItem() публичный Метод

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.
Результат System

OnPropertyChanged() защищенный Метод

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs containing the event data.
Результат void

ToString() публичный Метод

Gets the string representation of the object.
public ToString ( ) : string
Результат string