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






Gets or sets if the background is transparent, solid or faded.
The type of background, this parameter can be None, Solid or Faded.

Syntax

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

Return Value

A BackgroundType value, this property specifies is there is no background, a solid background or a faded background. The default value is None.

Remarks

For a Faded background the colour of the background fades from Color to FadeColor. The direction, location and quickness of the fade are specified using the FadeDirection, FadeLocation and FadeGradient properties respectively.

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