ColorDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.
- C#
- VB.NET
public class ColorDialog : CommonDialog
Public Class ColorDialog
Inherits CommonDialog
Constructors
ColorDialog()
Initializes a new instance of ColorDialog.
ColorDialog(container)
Initializes a new instance of the ColorDialog extender with a specified container.
| Name | Type | Description |
|---|---|---|
| container | IContainer | An IContainer that represents the container of the ColorDialog component. |
Properties
Color
Color: Returns or sets the color selected by the user. (Default: Color [Empty])
CustomColors
Color[]: Returns or sets the set of custom colors shown in the dialog box. (Default: null)
Methods
Reset()
Resets all properties to their default values.