DataFormDataField and TabStop behavior

2 posts, 1 answers
  1. Hubert
    Hubert avatar
    19 posts
    Member since:
    Feb 2012

    Posted 16 Apr 2012 Link to this post


    in the RadControls WPF Demo Q3 2011 SP1, the cursor cycles through all enabled fields on a RadDataForm by
    pressing the Tab key. That's the expected behavior, but in Version 2012.1.402.40 the cursor cycles through all
    enabled fields and their corresponding labels.

    Is this correct and the expected behavior or is it possible to configure the TabStop behavior
    for the label property?

    I looked around for a solution and found the thread label-customization-in-dataformxfield
    which guided me to the property LabelStyle.

    I copied the posted code an set the property IsTabStop to false, but the XAML didn't compile because of
    'TextBlock' TargetType does not match type of element 'ContentControl'.
    I set the TargetType to ContentControl and it works as expected.

         <Style TargetType="ContentControl">
             <Setter Property="IsTabStop" Value="False" />

    kind regards,
  2. Answer
    Dimitrina avatar
    3769 posts

    Posted 17 Apr 2012 Link to this post

    Hi Hubert,

    We have replaced the 'Label' with a 'ContentControl'. So this is correct and it would be the expected behaviour. The way you have changed it is the right way.

    The documentation will be updated accordingly.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top