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






Gets or sets the desired number of buttons in the SideBar button stack.

Syntax

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

Return Value

A System.Int32 value, this property specifies the desired number of SideBarItem components in the SideBar button stack. The default value is 5.

Remarks

The actual number of buttons in the SideBar button stack may vary from the RequiredNumberOfVisibleButtons. This happens if there are less SideBar Items  than RequiredNumberOfVisibleButtons or if the SideBar is not tall enough to contain RequiredNumberOfVisibleButtons.

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