BCGControlBar Library for .NET
ExpandItems Method




Specifies the current maximum width of the item which it can get at the current size of the Ribbon.
Specifies the total maximum width of the item which it can get at the current size of the Ribbon.
Called by the framework on adjusting the layout of the CategoryItems to specify a new size of the items after resizing of the Ribbon or any CategoryItem.
Syntax
'Declaration
 
Public Function ExpandItems( _
   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.ExpandItems(totalItemWidth, availableWidth)
public bool ExpandItems( 
   int totalItemWidth,
   int availableWidth
)
public: bool ExpandItems( 
   int totalItemWidth,
   int availableWidth
) 
public:
bool ExpandItems( 
   int totalItemWidth,
   int availableWidth
) 

Parameters

totalItemWidth
Specifies the current maximum width of the item which it can get at the current size of the Ribbon.
availableWidth
Specifies the total maximum width of the item which it can get at the current size 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