Keyboard Navigation

2 posts, 0 answers
  1. Scott Olson
    Scott Olson avatar
    1 posts
    Member since:
    Aug 2012

    Posted 09 Nov 2010 Link to this post

    I'm trying to use the Tab key to navigate between items in an OutlookBar. I've noticed that Ctrl-Tab works, but Tab by itself doesn't. The Silverlight version of the OutlookBar does navigate between controls using only the Tab key.
    Is there something that I'm missing to get this working the same way on both WPF and Silverlight, with just the Tab key?

    Here's some XAML that's similar to the layout that I'm trying to create:
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="2*" />
            </Grid.ColumnDefinitions>
            <telerik:RadOutlookBar>
                <telerik:RadOutlookBarItem>
                    <StackPanel>
                        <TextBox>Try to</TextBox>
                        <TextBox>tab</TextBox>
                        <TextBox>between</TextBox>
                        <TextBox>us</TextBox>
                    </StackPanel>
                </telerik:RadOutlookBarItem>
            </telerik:RadOutlookBar>
            <StackPanel Grid.Column="2">
                <TextBox></TextBox>
                <TextBox></TextBox>
                <TextBox></TextBox>
                <TextBox></TextBox>
            </StackPanel>
        </Grid>
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 10 Nov 2010 Link to this post

    Hi Scott Olson,

    Examining the code you provided both in WPF and Silverlight, I noticed one and the same behavior. Pressing the Tab key multiple times navigates from the first TextBox in the RadOutLookBar to the TextBoxes in the StackPanel outside the OutlookBar and between them.
     However, in WPF,  if you need to navigate between the TextBoxes in the RadOutlookBar ,  you can do like so: 
    <telerik:RadOutlookBar KeyboardNavigation.TabNavigation="Continue">
    Note that the KeyboardNavigation class is not supported in Silverlight.

    Hope this is what you had in mind and it has helped you. Please feel free to ask if you need further assistance.   

    Greetings,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top