StandardColorPicker Class
Provides a standard color picker that can be used in a drop-down.
public class StandardColorPicker : DpiAwareControl, IDisposable, IDpiAwareElement
- Inheritance:
- object MarshalByRefObject Component Control DpiAwareControl object
- Implements:
- IDisposable IDpiAwareElement
Constructors
StandardColorPicker()
Initializes an instance of the class.
public StandardColorPicker()
Properties
DefaultSize
Gets the default size of the control.
SelectedColor
The selected color in the popup.
Methods
OnSelectedColorChanged(EventArgs)
Raises the SelectedColorChanged event.
protected virtual void OnSelectedColorChanged(EventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The event data. |
Events
SelectedColorChanged
Occurs after the value of the SelectedColor property changes.
public event EventHandler SelectedColorChanged
Event Type
Remarks
Use this event to perform any processing that should occur after the selection changes.
Inherited Members
- DpiAwareControl.DpiScaleChanged(SizeF)
- DpiAwareControl.OnDpiChangedAfterParent(EventArgs)
- DpiAwareControl.DpiScaleFactor
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.MemberwiseClone(bool)
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()
Extension Methods
- DpiAwareElementExtensions.AutoScaleFont(IDpiAwareElement, Font)
- DpiAwareElementExtensions.AutoScaleFontSize(IDpiAwareElement, float)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, Padding)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, Point)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, Rectangle)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, Size)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, SizeF)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, int)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, float)
- DpiAwareElementExtensions.ScaleLogicalValue(IDpiAwareElement, Padding)
- DpiAwareElementExtensions.SynchronizeScaleFactorWithChildren(IDpiAwareElement)
- ObjectExtensions.TryConvertToDouble(object, out double)
- ObjectExtensions.TryConvertToDouble(object, IFormatProvider, out double)
- ControlExtensions.FindAncestorOfType<T>(Control, bool)
- ControlExtensions.FindCommonAncestor(Control, Control)
- ControlExtensions.FindDescendantOfType<T>(Control, bool)
- ControlExtensions.GetAncestors(Control)
- ControlExtensions.GetChildren(Control)
- ControlExtensions.GetDescendants(Control)
- ControlExtensions.GetParent(Control)
- ControlExtensions.GetParent<T>(Control)
- ControlExtensions.GetSelfAndAncestors(Control)
- ControlExtensions.GetSelfAndDescendants(Control)
- ControlExtensions.GetSiblings(Control)
- ControlExtensions.IsAncestorOf(Control, ILogicalTreeNode)
- ControlExtensions.IsAncestorOf(Control, Control)