Class ColorPicker16
A sinple color picker that supports the legacy 16 ANSI colors
public class ColorPicker16 : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, IValue<ColorName16>, IValue
- Inheritance
-
ColorPicker16
- Implements
- Inherited Members
Constructors
- ColorPicker16()
Initializes a new instance of ColorPicker16.
Properties
- BoxHeight
Height of a color box
- BoxWidth
Width of a color box
- Caret
Cursor for the selected color.
- SelectedColor
Gets or sets the selected color.
- Value
Gets or sets the value.
Methods
- OnDrawingContent(DrawContext?)
Called when the View's content is to be drawn. The default implementation does nothing.
- OnValueChanged(ValueChangedEventArgs<ColorName16>)
Called when the ColorPicker16 Value has changed.
- OnValueChanging(ValueChangingEventArgs<ColorName16>)
Called when the ColorPicker16 Value is changing.
Events
- ValueChanged
Raised when Value has changed.
- ValueChanging
Raised when Value is about to change. Set Handled to true to cancel the change.