Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.
See Also: ColorDialog Members
The inherited member CommonDialog.ShowDialog must be invoked to create this specific common dialog box. CommonDialog.HookProc(IntPtr, int, IntPtr, IntPtr) can be overridden to implement specific dialog box hook functionality. Use ColorDialog.Color to retrieve the color selected by the user.
When you create an instance of System.Windows.Forms.ColorDialog, some of the read/write properties are set to initial values. For a list of these values, see the ColorDialog.#ctor constructor.