C# 클래스 ComponentFactory.Krypton.Toolkit.KryptonListItem

상속: System.ComponentModel.Component, IContentValues
파일 보기 프로젝트 열기: Cocotteseb/Krypton 1 사용 예제들

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