IWebFormsBuilderUIService.BuildColor Method (Control, String)

 

Starts a ColorBuilder to build a color property.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

Function BuildColor (
	owner As Control,
	initialColor As String
) As String

Parameters

owner
Type: System.Windows.Forms.Control

The control used to parent the dialog shown by the ColorBuilder.

initialColor
Type: System.String

The initial color for the editor to pre-select.

Return Value

Type: System.String

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

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

.NET Framework
Available since 1.1
Return to top
Show: