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

Requeted Theme Not seems to be working on List

3 Answers 46 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jean
Top achievements
Rank 1
Jean asked on 10 Jul 2015, 12:45 AM

Our Windows 8 App has a Dark Theme , but on some pages we use the Requested Theme  = Light,  this is what I used for the AutoCompleteBox and it seems to work for the Textbox per se, but the Dropdown list seems to have the Dark Theme even with this

 

<Style x:Name="RadAutoCompleteHeaderStyle" TargetType="ContentControl">
<Setter Property="RequestedTheme" Value="Light"/>
<Setter Property="Foreground" Value="Black"/>
<Setter Property="FontSize" Value="24"/>
<Setter Property="Margin" Value="0,0,0,0"/>
<Setter Property="FontWeight" Value="ExtraLight"/>
</Style>

Am I doing something wrong?

3 Answers, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 14 Jul 2015, 11:11 AM
Hello Jean,

Based only on the information provided we are unable to determine your goal (expected result) clearly.

Could you elaborate more on the desired scenario/appearance you are trying to achieve in terms of UI, colors, fonts, etc.
Ideally you can send us how you expect/want the RadAutoCompleteBox control to looks like.


Regards,
Vladislav
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Jean
Top achievements
Rank 1
answered on 15 Jul 2015, 02:30 AM
As you can see in the original message there is an included image, in this image you can see that the textbox with the label on top that says "Code du fournisseur" has a black border.  But on the dropdown list (S-2015A, S-0003, S-2015G S-2015C Hydro there is no black box they seem to be floating.  I want that black box to appear like a normal drop down list, list this one
0
Vladislav
Telerik team
answered on 17 Jul 2015, 09:29 AM
Hi Jean,

In order to achieve the desired look, you need to add/customize the "TelerikAutoCompleteBoxSelectorBorderBrush" as is described here and to add a simple style for setting the BorderThickness property of the "SuggestionItemsControl". The attachment contains a simple project demonstrating it.

Regards,
Vladislav
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
AutoCompleteBox
Asked by
Jean
Top achievements
Rank 1
Answers by
Vladislav
Telerik team
Jean
Top achievements
Rank 1
Share this question
or