IWebFormsBuilderUIService.BuildColor(Control, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).