In This Article

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.

protected override Size DefaultSize { get; }

Property Value

Size:

The default Size of the control.

SelectedColor

The selected color in the popup.

[Browsable(false)]
public Color SelectedColor { get; }

Property Value

Color

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

EventHandler

Remarks

Use this event to perform any processing that should occur after the selection changes.

Inherited Members

Extension Methods