C# Class ComponentFactory.Krypton.Toolkit.KryptonRadioButton

Inheritance: VisualSimpleBase
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
AutoUpdateOthers void
OnControllerClick void
OnRadioButtonTextChanged void
ResetLabelStyle void
ShouldSerializeImages bool
ShouldSerializeLabelStyle bool
ShouldSerializeOverrideFocus bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeText bool
ShouldSerializeValues bool
UpdateForOrientation void

Public Methods

Method Description
Focus ( ) : bool

Sets input focus to the control.

KryptonRadioButton ( ) : System

Initialize a new instance of the RadioButton class.

ResetText ( ) : void

Resets the Text property to its default value.

Select ( ) : void

Activates the control.

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

Fix the control to a particular palette state.

Protected Methods

Method Description
EvalTransparentPaint ( ) : bool

Work out if this control needs to paint transparent areas.

OnCheckedChanged ( EventArgs e ) : void

Raises the CheckedChanged event.

OnClick ( EventArgs e ) : void

Raises the Click event.

OnDoubleClick ( EventArgs e ) : void

Raises the DoubleClick event.

OnEnabledChanged ( EventArgs e ) : void

Raises the EnabledChanged event.

OnGotFocus ( EventArgs e ) : void

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

Private Methods

Method Description
AutoUpdateOthers ( ) : void
OnControllerClick ( object sender, EventArgs e ) : void
OnRadioButtonTextChanged ( 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

Method Details

EvalTransparentPaint() protected method

Work out if this control needs to paint transparent areas.
protected EvalTransparentPaint ( ) : bool
return bool

Focus() public method

Sets input focus to the control.
public Focus ( ) : bool
return bool

KryptonRadioButton() public method

Initialize a new instance of the RadioButton class.
public KryptonRadioButton ( ) : 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

OnClick() protected method

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

OnDoubleClick() protected method

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

OnEnabledChanged() protected method

Raises the EnabledChanged event.
protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs 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

OnLostFocus() protected method

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

OnMouseDoubleClick() protected method

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

OnMouseImeModeChanged() protected method

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

OnRightToLeftChanged() protected method

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

ProcessMnemonic() protected method

Processes a mnemonic character.
protected ProcessMnemonic ( char charCode ) : bool
charCode char The mnemonic character entered.
return bool

ResetText() public method

Resets the Text property to its default value.
public ResetText ( ) : void
return void

Select() public method

Activates the control.
public Select ( ) : void
return void

SetFixedState() public method

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

SetLabelStyle() protected method

Update the view elements based on the requested label style.
protected SetLabelStyle ( LabelStyle style ) : void
style LabelStyle New label style.
return void