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






Gets or sets if the CollapsingGroupPanel is pinned in the expanded state and as a result will not collapse automatically.

Syntax

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

Return Value

A System.Boolean value, this property determines if the CollapsingGroupPanel is pinned. If Pinned is true, then the collapsing group panel is pinned and will not collapse when it loses focus and does not contain the mouse pointer; otherwise Pinned is false and the CollapsingGroupPanel will collapse when it loses focus and does not contain the mouse pointer.

Remarks

The CollapseMode property also affects the conditions under which the CollapsingGroupPanel collapses. Pinned only applies to CollapsingGroupPanel controls that are set to collapse automatically.

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