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

Redirect button spec requests to provided target.
상속: PaletteRedirect
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
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.

GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image

Gets the image to display for the button.

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.

PaletteRedirectButtonSpec ( IPalette target, IPaletteButtonSpec inherit ) : System

Initialize a new instance of the PaletteRedirectButtonSpec 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

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

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

PaletteRedirectButtonSpec() 공개 메소드

Initialize a new instance of the PaletteRedirectButtonSpec class.
public PaletteRedirectButtonSpec ( IPalette target, IPaletteButtonSpec inherit ) : System
target IPalette Initial palette target for redirection.
inherit IPaletteButtonSpec Redirection button spec requests.
리턴 System