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

Metro theme editing on ListBox

1 Answer 58 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Laszlo
Top achievements
Rank 1
Laszlo asked on 24 Jan 2013, 11:27 AM
Hi!

I would like to use the built-in Metro style on a listbox (ListBox or RadListBox, either), but with a little modification: I want the scrollbar (vertical) to be wider.

How to do this?

I tried to copy template after adding telerik:StyleManager.Theme="Metro" in XAML, but this didn't work, copied the default template.

What am I doing wrong?

I have added the namespace into xaml (xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation") and telerik.windows.controls.dll is referenced.

Laszlo

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 28 Jan 2013, 04:05 PM
Hello Laszlo,

I am pasting the reply from the support ticket:

I would suggest to use implicit styles in order to apply the Windows8 (the new name of the Metro theme)  theme to RadListBox ( and any other RadControls that you're using). This will make the customizations much easier. Detailed information on the implicit styles can be found here.

Have in mind that the style for the ScrollBar is defined in System.Windows.xaml and it's important whether you need to customize it only in RadListBox or in general.


Greetings,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ListBox
Asked by
Laszlo
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or