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






Gets or sets the position of the ButtonBar.

Syntax

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

Return Value

A ButtonBarPosition value, this property specifies the position of the ButtonBar. The default value is Top.

Remarks

The ButtonBarPosition property is also set when the ButtonBar Dock property is set. When docked at the Top of the parent, the ButtonBarPosition is set to Top, when docked on the Right of the parent, the ButtonBarPosition is set to Right, when docked to the Bottom of the parent, the ButtonBarPosition is set to Bottom, when docked on the Left of the parent the ButtonBarPosition is set to Left. The ButtonBarPosition is not changed when Dock is set to None.

The Width of the ButtonBar can be adjusted when ButtonBarPosition is set to Left or Right. The Height of the ButtonBar can be adjusted when the ButtonBarPosition is to Top or Bottom.

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