ColorBuilder.BuildColor Method
.NET Framework 2.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
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.Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: