Свойство | Type | Description | |
---|---|---|---|
OnButtonClick | void | ||
OnButtonSelect | void | ||
OnButtonTextChanged | void | ||
ResetButtonStyle | void | ||
ShouldSerializeButtonStyle | bool | ||
ShouldSerializeOverrideDefault | bool | ||
ShouldSerializeOverrideFocus | bool | ||
ShouldSerializeStateCommon | bool | ||
ShouldSerializeStateDisabled | bool | ||
ShouldSerializeStateNormal | bool | ||
ShouldSerializeStatePressed | bool | ||
ShouldSerializeStateTracking | bool | ||
ShouldSerializeText | bool | ||
ShouldSerializeValues | bool |
Méthode | Description | |
---|---|---|
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.
|
|
KryptonButton ( ) : System |
Initialize a new instance of the KryptonButton class.
|
|
NotifyDefault ( bool value ) : void |
Notifies a control that it is the default button so that its appearance and behavior is adjusted accordingly.
|
|
PerformClick ( ) : void |
Generates a Click event for the control.
|
|
ResetText ( ) : void |
Resets the Text property to its default value.
|
|
SetFixedState ( PaletteState state ) : void |
Fix the control to a particular palette state.
|
Méthode | Description | |
---|---|---|
ContextMenuClosed ( ) : void |
Called when a context menu has just been closed.
|
|
CreateButtonValues ( NeedPaintHandler needPaint ) : |
Creates a values storage object appropriate for control.
|
|
OnClick ( |
Raises the Click event.
|
|
OnCommandPropertyChanged ( object sender, |
Handles a change in the property of an attached command.
|
|
OnEnabledChanged ( |
Raises the EnabledChanged event.
|
|
OnGotFocus ( |
Raises the GotFocus event.
|
|
OnKryptonCommandChanged ( |
Raises the KryptonCommandChanged event.
|
|
OnLostFocus ( |
Raises the LostFocus event.
|
|
ProcessMnemonic ( char charCode ) : bool |
Processes a mnemonic character.
|
|
SetStyles ( ButtonStyle buttonStyle ) : void |
Update the state objects to reflect the new button style.
|
Méthode | Description | |
---|---|---|
OnButtonClick ( object sender, MouseEventArgs e ) : void | ||
OnButtonSelect ( object sender, MouseEventArgs e ) : void | ||
OnButtonTextChanged ( object sender, |
||
ResetButtonStyle ( ) : void | ||
ShouldSerializeButtonStyle ( ) : bool | ||
ShouldSerializeOverrideDefault ( ) : bool | ||
ShouldSerializeOverrideFocus ( ) : bool | ||
ShouldSerializeStateCommon ( ) : bool | ||
ShouldSerializeStateDisabled ( ) : bool | ||
ShouldSerializeStateNormal ( ) : bool | ||
ShouldSerializeStatePressed ( ) : bool | ||
ShouldSerializeStateTracking ( ) : bool | ||
ShouldSerializeText ( ) : bool | ||
ShouldSerializeValues ( ) : bool |
protected CreateButtonValues ( NeedPaintHandler needPaint ) : |
||
needPaint | NeedPaintHandler | Delegate for notifying paint requests. |
Résultat |
public GetImage ( PaletteState state ) : Image | ||
state | PaletteState | The state for which the image is needed. |
Résultat | Image |
public GetImageTransparentColor ( PaletteState state ) : Color | ||
state | PaletteState | The state for which the image is needed. |
Résultat | Color |
public NotifyDefault ( bool value ) : void | ||
value | bool | true if the control should behave as a default button; otherwise false. |
Résultat | void |
protected OnClick ( |
||
e | An EventArgs that contains the event data. | |
Résultat | void |
protected OnCommandPropertyChanged ( object sender, |
||
sender | object | Source of the event. |
e | A PropertyChangedEventArgs that contains the event data. | |
Résultat | void |
protected OnEnabledChanged ( |
||
e | An EventArgs that contains the event data. | |
Résultat | void |
protected OnGotFocus ( |
||
e | An EventArgs that contains the event data. | |
Résultat | void |
protected OnKryptonCommandChanged ( |
||
e | An EventArgs containing the event data. | |
Résultat | void |
protected OnLostFocus ( |
||
e | An EventArgs that contains the event data. | |
Résultat | void |
protected ProcessMnemonic ( char charCode ) : bool | ||
charCode | char | The mnemonic character entered. |
Résultat | bool |
public SetFixedState ( PaletteState state ) : void | ||
state | PaletteState | Palette state to fix. |
Résultat | void |
protected SetStyles ( ButtonStyle buttonStyle ) : void | ||
buttonStyle | ButtonStyle | New button style. |
Résultat | void |