Need better indication of focus with Windows 7 theme and Editable=False.

4 posts, 1 answers
  1. Kathleen
    Kathleen avatar
    55 posts
    Member since:
    Jun 2009

    Posted 04 Aug 2010 Link to this post

    I am using the Windows 7 theme.  The combo boxes are defined as below.  Only issue is that there is no clear indication that the combo has focus when tabbed onto it.  What is the best means to add a focus rect to the box or change the outer border brush color, without having to completely override the theme usage?


    <

     

     

    Style x:Key="DataFormComboStyle" TargetType="telerik:RadComboBox">

     

     

     

     

    <Setter Property="Height" Value="20" />

     

     

     

     

    <Setter Property="DisplayMemberPath" Value="Description" />

     

     

     

     

    <Setter Property="IsEditable" Value="False" />

     

     

     

     

    <Setter Property="IsReadOnly" Value="True" />

     

     

     

     

    <Setter Property="IsTextSearchEnabled" Value="True" />

     

     

     

     

    <Setter Property="IsMouseWheelEnabled" Value="False" />

     

     

     

     

    <Setter Property="IsHighlighted" Value="True" />

     

     

     

     

    <Setter Property="IsTabStop" Value="True" />

     

     

     

     

    <Setter Property="StaysOpenOnEdit" Value="True" />

     

     

     

     

    <Setter Property="TextSearchMode" Value="StartsWith" />

     

     

     

     

    <Setter Property="CanKeyboardNavigationSelectItems" Value="True" />

     

     

     

     

    <Setter Property="ItemsPanel">

     

     

     

     

    <Setter.Value>

     

     

     

     

    <ItemsPanelTemplate>

     

     

     

     

    <VirtualizingStackPanel />

     

     

     

     

    </ItemsPanelTemplate>

     

     

     

     

    </Setter.Value>

     

     

     

     

    </Setter>

     

     

     

     

    </Style>

     

  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 05 Aug 2010 Link to this post

    Hi Kathleen,

    I agree that the Windows 7 theme's states are subtle and low contrast. This effect is intended, but we appreciate your feedback and we will revise the theme in the near future. I cannot promise drastic changes, but we will try to make the focus states more consistent across the controls and we will increase the contrast where possible.

    Unfortunately you cannot change the control elements without editing the control template. Please, let us know if you decide to customize the control template and you have troubles with that.

    Best wishes,
    Valeri Hristov
    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. DevCraft banner
  4. Kathleen
    Kathleen avatar
    55 posts
    Member since:
    Jun 2009

    Posted 07 Sep 2010 Link to this post

    I am using the Windows 7 theme.  I have tried locating the template i would need to change in the download, but didn't find it.

    Can you provide an extract of the Windows 7 data template for RadComboBox please.
  5. Answer
    Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 08 Sep 2010 Link to this post

    Hello Kathleen,

    If you installed RadControls for Silverlight in its default location (%Program Files%/Telerik/RadControls for Silverlight), the installed should have created a folder named Themes inside. In this folder there is a Themes solution that contains projects for each theme, including Windows 7. The RadComboBox control templates are located in Themes/Windows7/Themes/Windows7/ComboBox.xaml (there are two Themes/Windows7 in the path).

    All the best,
    Valeri Hristov
    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
Back to Top