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

Map button spec tooltip value to content values.
상속: IContentValues
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
ButtonSpecToContent ( IPalette palette, ButtonSpec buttonSpec ) : System

Initialize a new instance of the PageToTooltipMapping class.

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.

메소드 상세

ButtonSpecToContent() 공개 메소드

Initialize a new instance of the PageToTooltipMapping class.
public ButtonSpecToContent ( IPalette palette, ButtonSpec buttonSpec ) : System
palette IPalette Palette for sourcing information.
buttonSpec ButtonSpec Source button spec instance.
리턴 System

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