Provides a coloured label-like control which gives easy access to various types of colour input.
Constructors
Properties
PaletteRegion
#Gets the rectangle containing the palette icon.
public RectangleF PaletteRegion { get; }
PickerRegion
#Gets the rectangle from within which the colour picker launches.
public RectangleF PickerRegion { get; }
SamplerRegion
#Gets the rectangle containing the sampling icon.
public RectangleF SamplerRegion { get; }
ShowContextualColours
#Gets or sets whether context aware colours are available in the colour picker.
Methods
OnMouseDown
#Raises the MouseDown event.
protected override void OnMouseDown()
MouseEventArgs
e
Event arguments
Remarks: To override default behaviour of the control, set Handled property to
true.Overrides: Control.OnMouseDown
OnMouseMove
#Raises the MouseMove event.
protected override void OnMouseMove()
MouseEventArgs
e
Mouse event args
Overrides: Control.OnMouseMove
OnMouseUp
#Raises the MouseUp event.
protected override void OnMouseUp()
MouseEventArgs
e
Event arguments
Overrides: Control.OnMouseUp
OnPaint
#Raises the Paint event
protected override void OnPaint()
PaintEventArgs
e
Paint event arguments
Overrides: Drawable.OnPaint