This is a migrated thread and some comments may be shown as answers.

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

3 Answers 31 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kathleen
Top achievements
Rank 1
Kathleen asked on 04 Aug 2010, 06:07 PM
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>

 

3 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 05 Aug 2010, 01:59 PM
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
0
Kathleen
Top achievements
Rank 1
answered on 07 Sep 2010, 11:56 AM
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.
0
Accepted
Valeri Hristov
Telerik team
answered on 08 Sep 2010, 12:34 PM
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
Tags
ComboBox
Asked by
Kathleen
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Kathleen
Top achievements
Rank 1
Share this question
or