Intersoft ClientUI Documentation
VisibleItemCount Property (UXNavigationPane)



Gets or sets a value indicating the number of items that are visible in the control.
Syntax
<CategoryAttribute("Common Properties")>
Public Property VisibleItemCount As Integer
Dim instance As UXNavigationPane
Dim value As Integer
 
instance.VisibleItemCount = value
 
value = instance.VisibleItemCount
[CategoryAttribute("Common Properties")]
public int VisibleItemCount {get; set;}
[CategoryAttribute("Common Properties")]
public:
property int VisibleItemCount {
   int get();
   void set (    int value);
}
Remarks
UXNavigationPane is built with fluid user interface design which allows you to define as much items as you need without compromising the application's layout and real screen estate. UXNavigationPane displays only a specific number of items in the main items container which is determined by the VisibleItemCount property. The rest of items, often called overflowing items, will be smartly placed in either the footer element or context menu depending on the available space.
Example

The following code shows how to customize the VisibleItemCount property.

XAML
Copy Code
<Grid>
    <Intersoft:UXNavigationPane Width="250" VisibleItemCount="3">
        <Intersoft:UXNavigationPaneItem Header="Mail" DisplayMode="ContentAndImage" Icon="/SLNavigationPane;component/images/Outlook/Mail.png">
            Mail
        </Intersoft:UXNavigationPaneItem>
        <Intersoft:UXNavigationPaneItem Header="Calendar" DisplayMode="ContentAndImage" 
            Icon="/SLNavigationPane;component/images/Outlook/Calendar.png">
            Calendar
        </Intersoft:UXNavigationPaneItem>
        <Intersoft:UXNavigationPaneItem Header="Contacts" DisplayMode="ContentAndImage" 
            Icon="/SLNavigationPane;component/images/Outlook/Contact.png">
            Contacts
        </Intersoft:UXNavigationPaneItem>
    </Intersoft:UXNavigationPane>
</Grid>
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

UXNavigationPane Class
UXNavigationPane Members

Send Feedback