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






Gets or sets the position of the labels drawn for the CollapsingGroupPanel child controls.

Syntax

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

Return Value

A CollapsingGroupPanelLabelPosition value, this property specifies the position of the labels relative to the CollapsingGroupPanel child controls. The default value is LeftCenter.

Remarks

CollapsingGroupPanel is an IExtenderProvider. It adds a Label property to each of its child controls. The CollapsingGroupPanel draws the labels at the specified position, using the indicated colour and font. The LabelFont property specifies the Font of  the labels. LabelForeColor specifies the color of the labels.

The image below shows the effect of LabelPosition on the position of the labels.

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