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

Base class for defining button specifications.
상속: Storage, IPaletteButtonSpec
파일 보기 프로젝트 열기: ComponentFactory/Krypton

Private Properties

프로퍼티 타입 설명
KryptonPaletteButtonSpecBase System

공개 메소드들

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

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

GetButtonSpecEdge ( PaletteButtonSpecStyle style ) : PaletteRelativeEdgeAlign

Gets the edge to positon the button against.

GetButtonSpecIcon ( PaletteButtonSpecStyle style ) : Icon

Gets the icon to display for the button.

GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image

Gets the image to display for the button.

GetButtonSpecImageTransparentColor ( PaletteButtonSpecStyle style ) : Color

Gets the image transparent color.

GetButtonSpecLocation ( PaletteButtonSpecStyle style ) : HeaderLocation

Get the location for the button.

GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string

Gets the long text to display for the button.

GetButtonSpecOrientation ( PaletteButtonSpecStyle style ) : PaletteButtonOrientation

Gets the button orientation.

GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string

Gets the short text to display for the button.

GetButtonSpecStyle ( PaletteButtonSpecStyle style ) : PaletteButtonStyle

Gets the button style used for drawing 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.

ResetEdge ( ) : void

Resets the Edge property to its default value.

ResetOrientation ( ) : void

Resets the Orientation property to its default value.

ResetStyle ( ) : void

Resets the Style property to its default value.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

보호된 메소드들

메소드 설명
OnButtonSpecChanged ( object sender, EventArgs e ) : void

Raises the ButtonSpecChanged event.

비공개 메소드들

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

Initialize a new instance of the KryptonPaletteButtonSpecBase class.

메소드 상세

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

GetButtonSpecEdge() 공개 메소드

Gets the edge to positon the button against.
public GetButtonSpecEdge ( PaletteButtonSpecStyle style ) : PaletteRelativeEdgeAlign
style PaletteButtonSpecStyle Style of button spec.
리턴 PaletteRelativeEdgeAlign

GetButtonSpecIcon() 공개 메소드

Gets the icon to display for the button.
public GetButtonSpecIcon ( PaletteButtonSpecStyle style ) : Icon
style PaletteButtonSpecStyle Style of button spec.
리턴 System.Drawing.Icon

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

GetButtonSpecImageTransparentColor() 공개 메소드

Gets the image transparent color.
public GetButtonSpecImageTransparentColor ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
리턴 Color

GetButtonSpecLocation() 공개 메소드

Get the location for the button.
public GetButtonSpecLocation ( PaletteButtonSpecStyle style ) : HeaderLocation
style PaletteButtonSpecStyle Style of button spec.
리턴 HeaderLocation

GetButtonSpecLongText() 공개 메소드

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

GetButtonSpecOrientation() 공개 메소드

Gets the button orientation.
public GetButtonSpecOrientation ( PaletteButtonSpecStyle style ) : PaletteButtonOrientation
style PaletteButtonSpecStyle Style of button spec.
리턴 PaletteButtonOrientation

GetButtonSpecShortText() 공개 메소드

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

GetButtonSpecStyle() 공개 메소드

Gets the button style used for drawing the button.
public GetButtonSpecStyle ( PaletteButtonSpecStyle style ) : PaletteButtonStyle
style PaletteButtonSpecStyle Style of button spec.
리턴 PaletteButtonStyle

GetButtonSpecToolTipTitle() 공개 메소드

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

OnButtonSpecChanged() 보호된 메소드

Raises the ButtonSpecChanged event.
protected OnButtonSpecChanged ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing event data.
리턴 void

PopulateFromBase() 공개 메소드

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

ResetEdge() 공개 메소드

Resets the Edge property to its default value.
public ResetEdge ( ) : void
리턴 void

ResetOrientation() 공개 메소드

Resets the Orientation property to its default value.
public ResetOrientation ( ) : void
리턴 void

ResetStyle() 공개 메소드

Resets the Style property to its default value.
public ResetStyle ( ) : void
리턴 void

SetRedirector() 공개 메소드

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
리턴 void