Skip to main content
Version: 4.1

ColorDialog

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.

public class ColorDialog : CommonDialog

Constructors​

Instance member ColorDialog()​

Initializes a new instance of ColorDialog.

Instance member ColorDialog(container)​

Initializes a new instance of the ColorDialog extender with a specified container.

NameTypeDescription
containerIContainerAn IContainer that represents the container of the ColorDialog component.

Properties​

Instance member Color​

Color: Returns or sets the color selected by the user. (Default: Color [Empty])

Instance member CustomColors​

Color[]: Returns or sets the set of custom colors shown in the dialog box. (Default: null)

Methods​

Protected member CreateUI()​

Returns: Form.

Instance member Reset()​

Resets all properties to their default values.