Xceed.Silverlight.Controls.v2.0 Assembly > Xceed.Silverlight.Controls Namespace : DataNavigationControl Class |
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.
'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
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.
<sllb:ListBox x:Name="listBox" ItemsSource="{Binding}" ItemTemplate="{StaticResource orderListBoxItemTemplate}" ToolPaneVisibility="Visible"> ... <sllb:DataNavigationControl.DataNavigationConfiguration> <sllb:AlphabeticalDataNavigationConfiguration /> </sllb:DataNavigationControl.DataNavigationConfiguration> </sllb:ListBox>
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
Xceed.Silverlight.Controls.DataNavigationControl
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family