Version

GetCollapsableWidth Method

Resolves what the collapsable width should be for a Toolbar item.
Syntax
'Declaration
 
Protected Function GetCollapsableWidth( _
   ByVal inScopeStyle As Style, _
   ByVal fallbackStyle As Style _
) As Unit
protected Unit GetCollapsableWidth( 
   Style inScopeStyle,
   Style fallbackStyle
)

Parameters

inScopeStyle
The current style applicable to the current Toolbar item.
fallbackStyle
A style applied at a higher-level which should be used if inScopeStyle is unspecified or has an empty Width property.

Return Value

A width taken from either the inScopeStyle or the fallbackStyle, whichever was appropriate to the current rendering situation.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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