Bewerken

Share via


IWebFormsBuilderUIService.BuildColor(Control, String) Method

Definition

Starts a ColorBuilder to build a color property.

public:
 System::String ^ BuildColor(System::Windows::Forms::Control ^ owner, System::String ^ initialColor);
public string BuildColor (System.Windows.Forms.Control owner, string initialColor);
abstract member BuildColor : System.Windows.Forms.Control * string -> string
Public Function BuildColor (owner As Control, initialColor As String) As String

Parameters

owner
Control

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

initialColor
String

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).

Applies to

See also