ColorBuilder.BuildColor Method
.NET Framework 3.0
Starts a color editor to build an HTML color property value.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public: static String^ BuildColor ( IComponent^ component, Control^ owner, String^ initialColor )
public static String BuildColor ( IComponent component, Control owner, String initialColor )
public static function BuildColor ( component : IComponent, owner : Control, initialColor : String ) : String
Not applicable.
Parameters
- component
The IComponent whose site is to be used to access design-time services.
- owner
The Control used to parent the picker window.
- initialColor
The initial color to be shown in the picker window, in a valid HTML color format.
Return Value
The color value, represented as a string in an HTML color format, or a null reference (Nothing in Visual Basic) if the builder service could not be retrieved.Community Additions
ADD
Show: