ICreate.Controls.Bars Send comments on this topic.
Color Property
See Also 
ICreate.Controls.Bars Namespace > PenDefinition Class : Color Property






The colour of the Pen constructed from the PenDefinition.

Syntax

Visual Basic (Declaration) 
Public Property Color As Color
Visual Basic (Usage)Copy Code
Dim instance As PenDefinition
Dim value As Color
 
instance.Color = value
 
value = instance.Color
C# 
public Color Color {get; set;}
Delphi 
public read-write property Color: Color; 
JScript 
public function get,set Color : Color
Managed Extensions for C++ 
public: __property Color get_Color();
public: __property void set_Color( 
   Color value
);
C++/CLI 
public:
property Color Color {
   Color get();
   void set (Color value);
}

Return Value

A Color value, this property specifies the colour of the Pen constructed from the PenDefinition.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also