C# 클래스 Open.Core.Controls.Buttons.ImageButtonBase

A base class for a button made up of images for each state.
Used the derived [ImageButton] where in the consuming you code you are specifying the set of images to use. [ImageButtonBase] class is provided to that specific image-buttons can be cleanly provided without exposing the API for assigning image URL's.
상속: ButtonBase
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
BasePath string

공개 메소드들

메소드 설명
CreateView ( ) : IButtonView
GetCurrentImage ( ButtonState state, bool isFocused ) : string

Gets the current image.

Preload ( ) : void

Preloads the images for the button.

메소드 상세

CreateView() 공개 메소드

public CreateView ( ) : IButtonView
리턴 IButtonView

GetCurrentImage() 공개 메소드

Gets the current image.
public GetCurrentImage ( ButtonState state, bool isFocused ) : string
state ButtonState The state of the button.
isFocused bool Flag indicating if the button currently has focus.
리턴 string

Preload() 공개 메소드

Preloads the images for the button.
public Preload ( ) : void
리턴 void

프로퍼티 상세

BasePath 보호되어 있는 프로퍼티

Gets or sets the base path that images are stored within.
protected string BasePath
리턴 string