Version

FromKeySeparator Method

String indexer for the Toolbar items collection based on the Key property that returns instances of TBSeparator.
Syntax
'Declaration
 
Public Function FromKeySeparator( _
   ByVal key As String _
) As TBSeparator
public TBSeparator FromKeySeparator( 
   string key
)

Parameters

key
Remarks

The comparison of the keys are performed in a case-sensitive manner.

When an item of the given key is found, a check is performed of whether it is of type TBSeparator. If the matching item is not of the correct type, null is returned. When duplicate keys are present across items of different types, an object present in the collection may be reported as not found if the first object matching key has a different type.

It is the application developer's responsibility not to add separators having identical Key values to this collection of toolbar items. For optimal performance and robustness, the avoidance of duplicate key use within the same UltraWebToolbar is strongly recommended.

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