System.Web.UI.Design.IWebFormsBuilderUIService.BuildColor Method

Starts a System.Web.UI.Design.ColorBuilder to build a color property.

Syntax

public string BuildColor (System.Windows.Forms.Control owner, string initialColor)

Parameters

owner
The control used to parent the dialog shown by the System.Web.UI.Design.ColorBuilder.
initialColor
The initial color for the editor to pre-select.

Returns

The color that was selected. This value will be a named color, or an RGB color expressed in HTML color format (#RRGGBB).

Remarks

The initialColor parameter should be a named color, or an RGB color expressed in HTML color format (#RRGGBB).

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0