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

Наследование: VisualSimpleBase, IContentValues
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
OnCheckBoxTextChanged void
OnControllerClick void
ResetLabelStyle void
ShouldSerializeImages bool
ShouldSerializeLabelStyle bool
ShouldSerializeOverrideFocus bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeText bool
ShouldSerializeValues bool
UpdateForOrientation void

Открытые методы

Метод Описание
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.

KryptonCheckBox ( ) : System

Initialize a new instance of the KryptonCheckBox class.

ResetText ( ) : void

Resets the Text property to its default value.

SetFixedState ( bool focus, bool enabled, bool tracking, bool pressed ) : void

Fix the control to a particular palette state.

Защищенные методы

Метод Описание
EvalTransparentPaint ( ) : bool

Work out if this control needs to paint transparent areas.

OnCheckStateChanged ( EventArgs e ) : void

Raises the CheckStateChanged event.

OnCheckedChanged ( EventArgs e ) : void

Raises the CheckedChanged event.

OnClick ( EventArgs e ) : void

Raises the CheckStateChanged event.

OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles a change in the property of an attached command.

OnDoubleClick ( EventArgs e ) : void

Raises the DoubleClick event.

OnEnabledChanged ( EventArgs e ) : void

Raises the EnabledChanged event.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnKryptonCommandChanged ( EventArgs e ) : void

Raises the KryptonCommandChanged event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event.

OnMouseDoubleClick ( EventArgs e ) : void

Raises the MouseDoubleClick event.

OnMouseImeModeChanged ( EventArgs e ) : void

Raises the ImeModeChanged event.

OnRightToLeftChanged ( EventArgs e ) : void

Raises the RightToLeftChanged event.

ProcessMnemonic ( char charCode ) : bool

Processes a mnemonic character.

SetLabelStyle ( LabelStyle style ) : void

Update the view elements based on the requested label style.

Приватные методы

Метод Описание
OnCheckBoxTextChanged ( object sender, EventArgs e ) : void
OnControllerClick ( object sender, EventArgs e ) : void
ResetLabelStyle ( ) : void
ShouldSerializeImages ( ) : bool
ShouldSerializeLabelStyle ( ) : bool
ShouldSerializeOverrideFocus ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
ShouldSerializeText ( ) : bool
ShouldSerializeValues ( ) : bool
UpdateForOrientation ( ) : void

Описание методов

EvalTransparentPaint() защищенный Метод

Work out if this control needs to paint transparent areas.
protected EvalTransparentPaint ( ) : bool
Результат bool

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

KryptonCheckBox() публичный Метод

Initialize a new instance of the KryptonCheckBox class.
public KryptonCheckBox ( ) : System
Результат System

OnCheckStateChanged() защищенный Метод

Raises the CheckStateChanged event.
protected OnCheckStateChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnCheckedChanged() защищенный Метод

Raises the CheckedChanged event.
protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnClick() защищенный Метод

Raises the CheckStateChanged 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

OnDoubleClick() защищенный Метод

Raises the DoubleClick event.
protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnEnabledChanged() защищенный Метод

Raises the EnabledChanged event.
protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

OnGotFocus() защищенный Метод

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

OnKryptonCommandChanged() защищенный Метод

Raises the KryptonCommandChanged event.
protected OnKryptonCommandChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnLostFocus() защищенный Метод

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

OnMouseDoubleClick() защищенный Метод

Raises the MouseDoubleClick event.
protected OnMouseDoubleClick ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnMouseImeModeChanged() защищенный Метод

Raises the ImeModeChanged event.
protected OnMouseImeModeChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnRightToLeftChanged() защищенный Метод

Raises the RightToLeftChanged event.
protected OnRightToLeftChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing event data.
Результат void

ProcessMnemonic() защищенный Метод

Processes a mnemonic character.
protected ProcessMnemonic ( char charCode ) : bool
charCode char The mnemonic character entered.
Результат bool

ResetText() публичный Метод

Resets the Text property to its default value.
public ResetText ( ) : void
Результат void

SetFixedState() публичный Метод

Fix the control to a particular palette state.
public SetFixedState ( bool focus, bool enabled, bool tracking, bool pressed ) : void
focus bool Focus state for display.
enabled bool Enabled state for display.
tracking bool Tracking state for display.
pressed bool Pressed state for display.
Результат void

SetLabelStyle() защищенный Метод

Update the view elements based on the requested label style.
protected SetLabelStyle ( LabelStyle style ) : void
style LabelStyle New label style.
Результат void