The ColorButton type exposes the following members.

Methods

  NameDescription
Protected methodOnMouseClick
Called when the end user clicks with the mouse's button over the control
(Overrides Control..::..OnMouseClick(MouseEventArgs).)
Protected methodOnMouseEnter
Called when the mouse enters to the button
(Overrides Button..::..OnMouseEnter(EventArgs).)
Protected methodOnMouseLeave
Called when the mouse leaves the button
(Overrides Button..::..OnMouseLeave(EventArgs).)
Protected methodOnPaint
Paints the button with the current color and 3D borders
(Overrides ButtonBase..::..OnPaint(PaintEventArgs).)

See Also