C# Class ComponentFactory.Krypton.Toolkit.KryptonCheckButton

Inheritance: KryptonButton
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeStateCheckedNormal bool
ShouldSerializeStateCheckedPressed bool
ShouldSerializeStateCheckedTracking bool

Public Methods

Method Description
KryptonCheckButton ( ) : System

Initialize a new instance of the KryptonCheckButton class.

Protected Methods

Method Description
CreateButtonValues ( NeedPaintHandler needPaint ) : ButtonValues

Creates a values storage object appropriate for control.

OnCheckedChanged ( EventArgs e ) : void

Raises the CheckedChanged event.

OnCheckedChanging ( CancelEventArgs e ) : void

Raises the CheckedChanging 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.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnKryptonCommandChanged ( EventArgs e ) : void

Raises the KryptonCommandChanged event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event.

Private Methods

Method Description
ShouldSerializeStateCheckedNormal ( ) : bool
ShouldSerializeStateCheckedPressed ( ) : bool
ShouldSerializeStateCheckedTracking ( ) : bool

Method Details

CreateButtonValues() protected method

Creates a values storage object appropriate for control.
protected CreateButtonValues ( NeedPaintHandler needPaint ) : ButtonValues
needPaint NeedPaintHandler Delegate for notifying paint requests.
return ButtonValues

KryptonCheckButton() public method

Initialize a new instance of the KryptonCheckButton class.
public KryptonCheckButton ( ) : System
return System

OnCheckedChanged() protected method

Raises the CheckedChanged event.
protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void

OnCheckedChanging() protected method

Raises the CheckedChanging event.
protected OnCheckedChanging ( CancelEventArgs e ) : void
e CancelEventArgs A CancelEventArgs containing the event data.
return void

OnClick() protected method

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnCommandPropertyChanged() protected method

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.
return void

OnGotFocus() protected method

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnKryptonCommandChanged() protected method

Raises the KryptonCommandChanged event.
protected OnKryptonCommandChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void

OnLostFocus() protected method

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void