Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат |
public GetImage ( PaletteState state ) : Image | ||
state | PaletteState | The state for which the image is needed. |
Результат | Image |
public GetImageTransparentColor ( PaletteState state ) : Color | ||
state | PaletteState | The state for which the image is needed. |
Результат | Color |
public NotifyDefault ( bool value ) : void | ||
value | bool | true if the control should behave as a default button; otherwise false. |
Результат | void |
protected OnClick ( |
||
e | An EventArgs that contains the event data. | |
Результат | void |
protected OnCommandPropertyChanged ( object sender, |
||
sender | object | Source of the event. |
e | A PropertyChangedEventArgs that contains the event data. | |
Результат | void |
protected OnEnabledChanged ( |
||
e | An EventArgs that contains the event data. | |
Результат | void |
protected OnGotFocus ( |
||
e | An EventArgs that contains the event data. | |
Результат | void |
protected OnKryptonCommandChanged ( |
||
e | An EventArgs containing the event data. | |
Результат | void |
protected OnLostFocus ( |
||
e | An EventArgs that contains the event data. | |
Результат | void |
protected ProcessMnemonic ( char charCode ) : bool | ||
charCode | char | The mnemonic character entered. |
Результат | bool |
public SetFixedState ( PaletteState state ) : void | ||
state | PaletteState | Palette state to fix. |
Результат | void |
protected SetStyles ( ButtonStyle buttonStyle ) : void | ||
buttonStyle | ButtonStyle | New button style. |
Результат | void |