Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Controls Namespace / AlphabeticalDataNavigationConfiguration Class
Members Example


    AlphabeticalDataNavigationConfiguration Class
    Used to configure the DataNavigationControl to display buttons that correspond to alphabetical keys (A through Z).
    Syntax
    'Declaration
     
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public NotInheritable Class AlphabeticalDataNavigationConfiguration 
       Inherits DataNavigationConfiguration
     
    'Usage
     
    Dim instance As AlphabeticalDataNavigationConfiguration
    Remarks
    The behavior of DataNavigationControl is determined by setting that class's DataNavigationConfiguration attached property to a DataNavigationConfiguration-derived instance.
    Example
    The following XAML causes the DataNavigationControl to display buttons corresponding to the letters A through Z. Clicking on a button causes the listbox to browse to the first group whose first-level GroupDescription corresponds to that letter.
    <sllb:ListBox x:Name="myListBoxControl"
        ItemsSource="{Binding Path=Customers}"
        ItemTemplate="{StaticResource itemTemplate}">
    
        <sllb:DataNavigationControl.DataNavigationConfiguration>
            <sllb:AlphabeticalDataNavigationConfiguration />
        </sllb:DataNavigationControl.DataNavigationConfiguration>
    
        <sllb:ListBox.GroupDescriptions>
            <PropertyGroupDescription PropertyName="Country"/>
            <PropertyGroupDescription PropertyName="City"/>
        </sllb:ListBox.GroupDescriptions>
    </sllb:ListBox>
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             Xceed.Wpf.Controls.DataNavigationConfiguration
                Xceed.Wpf.Controls.AlphabeticalDataNavigationConfiguration

    Requirements

    Target Platforms: Windows 11, Windows 10, 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