IsTabStop

4 posts, 0 answers
  1. MiddleTommy
    MiddleTommy avatar
    163 posts
    Member since:
    Nov 2009

    Posted 12 Nov 2009 Link to this post

    When setting the RadExpander.IsTabStop to false the control still responds to tab

    <t:RadExpander MaxWidth="350" MinWidth="350" IsTabStop="False" Margin="10" IsExpanded="True" Name="xDrawing"
                        <t:RadExpander.Header> 
                            <StackPanel Orientation="Horizontal"
                                <TextBlock Text="DRAWING:" Width="55" Margin="0,5,20,2"/> 
                                <t:RadButton x:Name="btnAddDwg" IsTabStop="False"  Content="+" Width="25" Height="20" Margin="10,0,0,5" ToolTip="Click to add a new Drawing to the current Job./nAlt D"  Click="btnAddDwg_Click" /> 
                                <t:RadButton x:Name="btnDeleteDwg" Content="-" IsTabStop="False" Width="25" Height="20" Margin="10,0,0,5" ToolTip="Remove Assembly" Click="btnDeleteDwg_Click"/> 
                            </StackPanel> 
                        </t:RadExpander.Header> 
                    <StackPanel> 
                        <StackPanel Margin="3,3,3,3" Orientation="Horizontal"
                            <TextBlock Text="Drawing#" Margin="0,2,2,2"/> 
                            <xcd:AutoSelectTextBox x:Name="txtdwgNo" Text="{Binding CurrentDrawing.dwgNo}" AutoSelectBehavior="OnFocus" Width="100" Margin="3,3,3,3" TextChanged="UCase_TextChanged"/> 
                            <TextBlock Text="Date" Margin="20,2,2,2"/> 
                            <xcd:AutoSelectTextBox x:Name="txtDate" Text="{Binding CurrentDrawing.dwgDate}" AutoSelectBehavior="OnFocus" Width="125" Margin="3,3,3,3"  TextChanged="UCase_TextChanged"/> 
                        </StackPanel> 
                        <StackPanel Margin="3,3,3,3" Orientation="Horizontal"
                            <TextBlock Text="Drawn By" Margin="0,2,2,2"/> 
                            <xcd:AutoSelectTextBox x:Name="txtDrawnBy" AutoSelectBehavior="OnFocus" Text="{Binding CurrentDrawing.dwgBy}" Width="200" Margin="3,3,3,3"/> 
                            <TextBlock Text="HOLD" Margin="20,2,2,2"/> 
                            <xcd:CheckBox Name="chkDWGHold" Margin="3,3,3,3" IsChecked="{Binding CurrentDrawing.hold}"/> 
                        </StackPanel> 
                    </StackPanel> 
                </t:RadExpander> 

    TabStop should still work for internal controls unless IsExpanded = false;
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 18 Nov 2009 Link to this post

    Hello Tommy,

    For the next major(Q) release, we will invest more time in improving our controls' keyboard navigation. For your particular scenario, you can edit the ControlTemplate of RadExpader and set IsTabStop="False" to the button called HeaderButton. I have attached a sample project demonstrating this functionality. Have a look at it and let me know how it works for you.

    Greetings,
    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Evan
    Evan avatar
    22 posts
    Member since:
    May 2008

    Posted 27 Mar 2012 Link to this post

    Hello Kiril,

    I've run into the same problem where I do not want the tabbing to stop on the RadExapnder. I downloaded the attachment you had but it still doesn't work.

    Does anyone know how to set IsTabStop=False on a RadExpander and make it work? Setting this even in the template apparently is not working as well.

    Thanks!
    Evan
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 28 Mar 2012 Link to this post

    Hello Evan ,

     Please try your scenario with the RadControls from Q1 2012 SP (0326) that we released this Monday. The IsTabStop of the HeaderButton in the Expander's Template is now bound to the IsTabStop of the Expander.
    This should have fixed your scenario.

    Greetings,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top