Version

ColorPreviewBoxDoubleClicked Event

Occurs when the user double clicks on the color preview box (primary or secondary).
Syntax
'Declaration
 
Public Event ColorPreviewBoxDoubleClicked As EventHandler(Of ColorPreviewBoxEventArgs)
public event EventHandler<ColorPreviewBoxEventArgs> ColorPreviewBoxDoubleClicked
Event Data

The event handler receives an argument of type ColorPreviewBoxEventArgs containing data related to this event. The following ColorPreviewBoxEventArgs properties provide information specific to this event.

PropertyDescription
Color Returns the current color of the color preview box.
IsPrimary Returns true if this is the primary color box, or false if it is this secondary color box.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also