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






Gets or sets the property which determines if the SideBar is collapsed or expanded.

Syntax

Visual Basic (Declaration) 
Public Property Collapsed As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SideBar
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 SideBar is collapsed or expanded. If Collapsed is true then the SideBar is collapsed. If Collapsed is false then the SideBar is expanded. The default value is false.

Remarks

A SideBar can be collapsed by setting its Collapsed property true or calling the Collapse method. A SideBar can be expanded by setting its Collapsed property false or calling the Expand 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