C# Класс ComponentFactory.Krypton.Toolkit.ButtonSpecAny

Button specification that can be assigned as any button type.
Наследование: ButtonSpec
Показать файл Открыть проект Примеры использования класса

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