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

Button specification that can be assigned as any button type.
상속: ButtonSpec
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ShouldSerializeChecked bool

공개 메소드들

메소드 설명
ButtonSpecAny ( ) : System

Initialize a new instance of the AnyButtonSpec class.

Clone ( ) : object

Make a clone of this object.

CopyFrom ( ButtonSpecAny source ) : void

Value copy form the provided source to ourself.

GetChecked ( IPalette palette ) : ButtonCheckState

Gets the button checked state.

GetEnabled ( IPalette palette ) : ButtonEnabled

Gets the button enabled state.

GetVisible ( IPalette palette ) : bool

Gets the button visible value.

ResetChecked ( ) : void

Resets the Checked property to its default value.

ResetEnabled ( ) : void

Resets the Enabled property to its default value.

ResetType ( ) : void

Resets the Type property to its default value.

ResetVisible ( ) : void

Resets the Visible property to its default value.

보호된 메소드들

메소드 설명
OnButtonSpecPropertyChanged ( string propertyName ) : void

Raises the ButtonSpecPropertyChanged event.

OnClick ( EventArgs e ) : void

Raises the Click event.

OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles a change in the property of an attached command.

비공개 메소드들

메소드 설명
ShouldSerializeChecked ( ) : bool

메소드 상세

ButtonSpecAny() 공개 메소드

Initialize a new instance of the AnyButtonSpec class.
public ButtonSpecAny ( ) : System
리턴 System

Clone() 공개 메소드

Make a clone of this object.
public Clone ( ) : object
리턴 object

CopyFrom() 공개 메소드

Value copy form the provided source to ourself.
public CopyFrom ( ButtonSpecAny source ) : void
source ButtonSpecAny Source instance.
리턴 void

GetChecked() 공개 메소드

Gets the button checked state.
public GetChecked ( IPalette palette ) : ButtonCheckState
palette IPalette Palette to use for inheriting values.
리턴 ButtonCheckState

GetEnabled() 공개 메소드

Gets the button enabled state.
public GetEnabled ( IPalette palette ) : ButtonEnabled
palette IPalette Palette to use for inheriting values.
리턴 ButtonEnabled

GetVisible() 공개 메소드

Gets the button visible value.
public GetVisible ( IPalette palette ) : bool
palette IPalette Palette to use for inheriting values.
리턴 bool

OnButtonSpecPropertyChanged() 보호된 메소드

Raises the ButtonSpecPropertyChanged event.
protected OnButtonSpecPropertyChanged ( string propertyName ) : void
propertyName string Name of the appearance property that has changed.
리턴 void

OnClick() 보호된 메소드

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnCommandPropertyChanged() 보호된 메소드

Handles a change in the property of an attached command.
protected OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs that contains the event data.
리턴 void

ResetChecked() 공개 메소드

Resets the Checked property to its default value.
public ResetChecked ( ) : void
리턴 void

ResetEnabled() 공개 메소드

Resets the Enabled property to its default value.
public ResetEnabled ( ) : void
리턴 void

ResetType() 공개 메소드

Resets the Type property to its default value.
public ResetType ( ) : void
리턴 void

ResetVisible() 공개 메소드

Resets the Visible property to its default value.
public ResetVisible ( ) : void
리턴 void