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






Gets or sets the Boolean flag indicating if the TaskBar is collapsed.

Syntax

Visual Basic (Declaration) 
Public Property Collapsed As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TaskBar
Dim value As Boolean
 
instance.Collapsed = value
 
value = instance.Collapsed
C# 
public bool Collapsed {get; set;}
Delphi 
public read-write property Collapsed: Boolean; 
JScript 
public function get,set Collapsed : boolean
Managed Extensions for C++ 
public: __property bool get_Collapsed();
public: __property void set_Collapsed( 
   bool value
);
C++/CLI 
public:
property bool Collapsed {
   bool get();
   void set (bool value);
}

Return Value

A System.Boolean value, this property determines if the TaskBar is collapsed or not. If true then the TaskBar is collapsed; otherwise it is false and the TaskBar is expanded.

The default value is false.

Remarks

To expand a TaskBar set Collapsed false or call the Expand method. To collapse a TaskBar set Collapsed true or call the Collapse method.

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