Property | Type | Description | |
---|---|---|---|
GetOpenPoint | Point | ||
HandleSelectedColorChanged | void | ||
InitControl | void | ||
PaintUnderLine | void | ||
PaintUnderLineImage | |||
PaintUnderLineText | void | ||
Refresh | void | ||
UpdateDisplayStyle | void |
Method | Description | |
---|---|---|
OnButtonPortionClicked ( |
Fires the ButtonPortionClicked event.
|
|
OnSelectedColorChanged ( |
Fires the SelectedColorChanged event.
|
|
ToolStripColorPicker ( ) : System |
Initializes a new instance of the ToolStripColorPicker that holds OfficeColorPicker control inside a ToolStripItem to add to ToolStrip containers.
|
|
ToolStripColorPicker ( Color startingColor ) : System |
Initializes a new instance of the ToolStripColorPicker that holds OfficeColorPicker control inside a ToolStripItem to add to ToolStrip containers.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnButtonClick ( |
||
OnDropDownOpened ( |
||
OnPaint ( PaintEventArgs e ) : void |
Overrides, Paint the image in the specified scale and the color line if defined.
|
Method | Description | |
---|---|---|
GetOpenPoint ( ) : Point |
Gets the button position by the parent ToolStrip
|
|
HandleSelectedColorChanged ( object sender, |
Repaint the button with the new color
|
|
InitControl ( ) : void |
Set starting properties for the control and register the needed events.
|
|
PaintUnderLine ( |
Paints the underline rectangle.
|
|
PaintUnderLineImage ( |
Paints the under line image
|
|
PaintUnderLineText ( |
Paints the underline text
|
|
Refresh ( ) : void |
Repaint the parent tool strip and the button tool tip
|
|
UpdateDisplayStyle ( ) : void |
Set the painting properties by the _buttonDisplayStyle property.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected OnButtonClick ( |
||
e | ||
return | void |
public OnButtonPortionClicked ( |
||
e | ||
return | void |
protected OnDropDownOpened ( |
||
e | ||
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
public OnSelectedColorChanged ( |
||
e | ||
return | void |
public ToolStripColorPicker ( Color startingColor ) : System | ||
startingColor | Color | The color to assign to the color picker control |
return | System |