Property | Type | Description | |
---|---|---|---|
DecideOnVisible | void | ||
GetPositionH | KryptonContextMenuPositionH | ||
GetPositionV | KryptonContextMenuPositionV | ||
HookContextMenuEvents | void | ||
OnButtonClick | void | ||
OnButtonSelect | void | ||
OnButtonTextChanged | void | ||
OnClickMoreColors | void | ||
OnClickNoColor | void | ||
OnColumnsSelectedColorChanged | void | ||
OnColumnsTrackingColor | 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 | ||
UpdateContextMenu | void | ||
UpdateRecentColors | void |
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.
|
|
KryptonColorButton ( ) : System |
Initialize a new instance of the KryptonColorButton class.
|
|
NotifyDefault ( bool value ) : void |
Notifies a control that it is the default color 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.
|
|
OnMoreColors ( CancelEventArgs e ) : void |
Raises the MoreColors event.
|
|
OnSelectedColorChanged ( Color selectedColor ) : void |
Raises the SelectedColorChanged event.
|
|
OnTrackingColor ( |
Raises the TrackingColor event.
|
|
ProcessMnemonic ( char charCode ) : bool |
Processes a mnemonic character.
|
|
SetStyles ( ButtonStyle buttonStyle ) : void |
Update the state objects to reflect the new color button style.
|
|
WndProc ( |
Process Windows-based messages.
|
Method | Description | |
---|---|---|
DecideOnVisible ( |
||
GetPositionH ( ) : KryptonContextMenuPositionH | ||
GetPositionV ( ) : KryptonContextMenuPositionV | ||
HookContextMenuEvents ( KryptonContextMenuCollection collection, bool hook ) : void | ||
OnButtonClick ( object sender, MouseEventArgs e ) : void | ||
OnButtonSelect ( object sender, MouseEventArgs e ) : void | ||
OnButtonTextChanged ( object sender, |
||
OnClickMoreColors ( object sender, |
||
OnClickNoColor ( object sender, |
||
OnColumnsSelectedColorChanged ( object sender, |
||
OnColumnsTrackingColor ( 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 | ||
UpdateContextMenu ( ) : void | ||
UpdateRecentColors ( Color color ) : void |
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 color 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 OnMoreColors ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | An CancelEventArgs that contains the event data. |
return | void |
protected OnSelectedColorChanged ( Color selectedColor ) : void | ||
selectedColor | Color | New selected color. |
return | void |
protected OnTrackingColor ( |
||
e | An ColorEventArgs 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 color button style. |
return | void |
protected WndProc ( |
||
m | A Windows-based message. | |
return | void |