BCGControlBar Library for .NET
StretchItems Method




Specifies the summary width of CategoryItems  from the item collection.
Specifies the maximum available summary width of CategoryItems.
Collapses the CategoryItem on decreasing of the Ribbon.
Syntax
'Declaration
 
Public Function StretchItems( _
   ByVal totalItemWidth As Integer, _
   ByVal availableWidth As Integer _
) As Boolean
'Usage
 
Dim instance As CategoryPanel
Dim totalItemWidth As Integer
Dim availableWidth As Integer
Dim value As Boolean
 
value = instance.StretchItems(totalItemWidth, availableWidth)
public bool StretchItems( 
   int totalItemWidth,
   int availableWidth
)
public: bool StretchItems( 
   int totalItemWidth,
   int availableWidth
) 
public:
bool StretchItems( 
   int totalItemWidth,
   int availableWidth
) 

Parameters

totalItemWidth
Specifies the summary width of CategoryItems  from the item collection.
availableWidth
Specifies the maximum available summary width of CategoryItems.
Remarks
Called by framework on decreasing the width of the Ribbon.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CategoryPanel Class
CategoryPanel Members

Send Feedback