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

Overrides for defining typed button specifications.
상속: KryptonPaletteButtonSpecBase
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
KryptonPaletteButtonSpecTyped System
OnImageStateChanged void
ShouldSerializeColorMap bool
ShouldSerializeExtraText bool
ShouldSerializeImage bool
ShouldSerializeImageStates bool
ShouldSerializeText bool
ShouldSerializeToolTipTitle bool

공개 메소드들

메소드 설명
GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color

Gets the color to remap from the image to the container foreground.

GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image

Gets the image to display for the button.

GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string

Gets the long text to display for the button.

GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string

Gets the short text to display for the button.

GetButtonSpecToolTipTitle ( PaletteButtonSpecStyle style ) : string

Gets the tooltip title text to display for the button.

PopulateFromBase ( PaletteButtonSpecStyle style ) : void

Populate values from the base palette.

ResetAllowInheritExtraText ( ) : void

Resets the AllowInheritExtraText property to its default value.

ResetAllowInheritImage ( ) : void

Resets the AllowInheritImage property to its default value.

ResetAllowInheritText ( ) : void

Resets the AllowInheritText property to its default value.

ResetAllowInheritToolTipTitle ( ) : void

Resets the AllowInheritToolTipTitle property to its default value.

ResetColorMap ( ) : void

Resets the ColorMap property to its default value.

ResetExtraText ( ) : void

Resets the ExtraText property to its default value.

ResetImage ( ) : void

Resets the Image property to its default value.

ResetText ( ) : void

Resets the Text property to its default value.

ResetToolTipTitle ( ) : void

Resets the ToolTipTitle property to its default value.

비공개 메소드들

메소드 설명
KryptonPaletteButtonSpecTyped ( PaletteRedirect redirector ) : System

Initialize a new instance of the KryptonPaletteButtonSpecCommon class.

OnImageStateChanged ( object sender, NeedLayoutEventArgs e ) : void
ShouldSerializeColorMap ( ) : bool
ShouldSerializeExtraText ( ) : bool
ShouldSerializeImage ( ) : bool
ShouldSerializeImageStates ( ) : bool
ShouldSerializeText ( ) : bool
ShouldSerializeToolTipTitle ( ) : bool

메소드 상세

GetButtonSpecColorMap() 공개 메소드

Gets the color to remap from the image to the container foreground.
public GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
리턴 Color

GetButtonSpecImage() 공개 메소드

Gets the image to display for the button.
public GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image
style PaletteButtonSpecStyle Style of button spec.
state PaletteState State for which image is required.
리턴 Image

GetButtonSpecLongText() 공개 메소드

Gets the long text to display for the button.
public GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
리턴 string

GetButtonSpecShortText() 공개 메소드

Gets the short text to display for the button.
public GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
리턴 string

GetButtonSpecToolTipTitle() 공개 메소드

Gets the tooltip title text to display for the button.
public GetButtonSpecToolTipTitle ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
리턴 string

PopulateFromBase() 공개 메소드

Populate values from the base palette.
public PopulateFromBase ( PaletteButtonSpecStyle style ) : void
style PaletteButtonSpecStyle The style of the button spec instance.
리턴 void

ResetAllowInheritExtraText() 공개 메소드

Resets the AllowInheritExtraText property to its default value.
public ResetAllowInheritExtraText ( ) : void
리턴 void

ResetAllowInheritImage() 공개 메소드

Resets the AllowInheritImage property to its default value.
public ResetAllowInheritImage ( ) : void
리턴 void

ResetAllowInheritText() 공개 메소드

Resets the AllowInheritText property to its default value.
public ResetAllowInheritText ( ) : void
리턴 void

ResetAllowInheritToolTipTitle() 공개 메소드

Resets the AllowInheritToolTipTitle property to its default value.
public ResetAllowInheritToolTipTitle ( ) : void
리턴 void

ResetColorMap() 공개 메소드

Resets the ColorMap property to its default value.
public ResetColorMap ( ) : void
리턴 void

ResetExtraText() 공개 메소드

Resets the ExtraText property to its default value.
public ResetExtraText ( ) : void
리턴 void

ResetImage() 공개 메소드

Resets the Image property to its default value.
public ResetImage ( ) : void
리턴 void

ResetText() 공개 메소드

Resets the Text property to its default value.
public ResetText ( ) : void
리턴 void

ResetToolTipTitle() 공개 메소드

Resets the ToolTipTitle property to its default value.
public ResetToolTipTitle ( ) : void
리턴 void