Property | Type | Description | |
---|---|---|---|
GetPositionH | KryptonContextMenuPositionH | ||
GetPositionV | KryptonContextMenuPositionV | ||
OnButtonClick | void | ||
OnButtonSelect | void | ||
OnButtonTextChanged | void | ||
OnContextMenuClosed | void | ||
OnKryptonContextMenuClosed | void | ||
ResetButtonStyle | void | ||
ShouldSerializeButtonStyle | bool | ||
ShouldSerializeImages | bool | ||
ShouldSerializeOverrideDefault | bool | ||
ShouldSerializeOverrideFocus | bool | ||
ShouldSerializeStateCommon | bool | ||
ShouldSerializeStateDisabled | bool | ||
ShouldSerializeStateNormal | bool | ||
ShouldSerializeStatePressed | bool | ||
ShouldSerializeStateTracking | bool | ||
ShouldSerializeText | bool | ||
ShouldSerializeValues | bool | ||
ShowDropDown | bool |
Method | 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.
|
|
KryptonDropButton ( ) : System |
Initialize a new instance of the KryptonDropButton 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.
|
|
PerformDropDown ( ) : void |
Generates a DropDown 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.
|
Method | 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.
|
|
OnDropDown ( |
Raises the DropDown event.
|
|
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.
|
|
WndProc ( |
Process Windows-based messages.
|
Method | Description | |
---|---|---|
GetPositionH ( ) : KryptonContextMenuPositionH | ||
GetPositionV ( ) : KryptonContextMenuPositionV | ||
OnButtonClick ( object sender, MouseEventArgs e ) : void | ||
OnButtonSelect ( object sender, MouseEventArgs e ) : void | ||
OnButtonTextChanged ( object sender, |
||
OnContextMenuClosed ( object sender, |
||
OnKryptonContextMenuClosed ( object sender, |
||
ResetButtonStyle ( ) : void | ||
ShouldSerializeButtonStyle ( ) : bool | ||
ShouldSerializeImages ( ) : bool | ||
ShouldSerializeOverrideDefault ( ) : bool | ||
ShouldSerializeOverrideFocus ( ) : bool | ||
ShouldSerializeStateCommon ( ) : bool | ||
ShouldSerializeStateDisabled ( ) : bool | ||
ShouldSerializeStateNormal ( ) : bool | ||
ShouldSerializeStatePressed ( ) : bool | ||
ShouldSerializeStateTracking ( ) : bool | ||
ShouldSerializeText ( ) : bool | ||
ShouldSerializeValues ( ) : bool | ||
ShowDropDown ( ) : bool |
protected CreateButtonValues ( NeedPaintHandler needPaint ) : |
||
needPaint | NeedPaintHandler | Delegate for notifying paint requests. |
return |
public GetImage ( PaletteState state ) : Image | ||
state | PaletteState | The state for which the image is needed. |
return | Image |
public GetImageTransparentColor ( PaletteState state ) : Color | ||
state | PaletteState | The state for which the image is needed. |
return | Color |
public NotifyDefault ( bool value ) : void | ||
value | bool | true if the control should behave as a default button; otherwise false. |
return | void |
protected OnClick ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnCommandPropertyChanged ( object sender, |
||
sender | object | Source of the event. |
e | A PropertyChangedEventArgs that contains the event data. | |
return | void |
protected OnDropDown ( |
||
e | An ContextPositionMenuArgs containing the event data. | |
return | void |
protected OnEnabledChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnGotFocus ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnKryptonCommandChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnLostFocus ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected ProcessMnemonic ( char charCode ) : bool | ||
charCode | char | The mnemonic character entered. |
return | bool |
public SetFixedState ( PaletteState state ) : void | ||
state | PaletteState | Palette state to fix. |
return | void |
protected SetStyles ( ButtonStyle buttonStyle ) : void | ||
buttonStyle | ButtonStyle | New button style. |
return | void |
protected WndProc ( |
||
m | A Windows-based message. | |
return | void |