Xceed DataGrid for Silverlight Documentation
DataNavigationControl Class
Members  Example 


Provides a data navigation panel containing buttons that correspond to keys, which are used to browse to first-level groups corresponding to the value represented by the keys.

Object Model
DataNavigationControl ClassIDataNavigationHost Interface
Syntax
'Declaration
 
<TemplateVisualStateAttribute(Name="NotLicensed", GroupName="LicensingStates")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
<TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")>
<TemplateVisualStateAttribute(GroupName="LicensingStates", Name="Licensed")>
Public Class DataNavigationControl 
   Inherits System.Windows.Controls.ItemsControl
   Implements MS.Internal.Controls.IGeneratorHost, MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper 
'Usage
 
Dim instance As DataNavigationControl
[TemplateVisualStateAttribute(Name="NotLicensed", GroupName="LicensingStates")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")]
[TemplateVisualStateAttribute(GroupName="LicensingStates", Name="Licensed")]
public class DataNavigationControl : System.Windows.Controls.ItemsControl, MS.Internal.Controls.IGeneratorHost, MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper  
Remarks

The DataNavigationControl is part of the ListBoxGroupHeader. By default it is opened by clicking on the button seen in the following image, before next to the up- and down-arrow buttons.

Clicking on this button opens a panel containing the keys' buttons. The following DataNavigationControl is the result of setting its DataNavigationConfiguration attached property to an instance of AlphabeticalDataNavigationConfiguration.

Example
<sllb:ListBox x:Name="listBox"
              ItemsSource="{Binding}"
              ItemTemplate="{StaticResource orderListBoxItemTemplate}"
              ToolPaneVisibility="Visible">

...


  <sllb:DataNavigationControl.DataNavigationConfiguration>
    <sllb:AlphabeticalDataNavigationConfiguration />
  </sllb:DataNavigationControl.DataNavigationConfiguration>
</sllb:ListBox>
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Xceed.Silverlight.Controls.DataNavigationControl

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataNavigationControl Members
Xceed.Silverlight.Controls Namespace

Send Feedback