Version

VisibleItemsCollection Class

A collection of NavBarItem objects maintained in the order that they are displayed.
Syntax
'Declaration
 
Public Class VisibleItemsCollection 
public class VisibleItemsCollection 
Remarks

This collection contains the same NavBarItem objects as the NavBarItemsCollection including NavBarItems whose Visible property values are false.

However, the order of the items in this collection may be different that the order of the items in the NavBarItemsCollection collection. The order in this collection determines the display order of the items.

Note: NavBarItems with smaller NavBarItem.VisibleIndex values are closer to the control's item page area in multi-row UltraOfficeNavBar.Styles.

Indexers are provided to access individual NavBarItems via either their 0-based NavBarItem.VisibleIndex or Infragistics.Shared.KeyedSubObjectBase.Key values.

Keys are supported but not required. However, if supplied they must be unique.

The order of the items can be changed by dragging items around at runtime if the AllowItemDragging property is set to true.

The order can also be changed by calling the Sort method, setting the NavBarItem's NavBarItem.VisibleIndex property or by calling its NavBarItem.Reposition method.

Requirements

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