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

Changing the theme

1 Answer 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wayne Bradney
Top achievements
Rank 1
Wayne Bradney asked on 23 Apr 2010, 08:22 PM

Is there something more I should be doing to change the theme? I have references in a simple project to all the themes, but the following the grid shows up Black:

 

<

 

 

 

UserControl x:Class="SilverlightApplication1.MainPage"

 

 

 

 

 

 

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

 

 

 

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

 

 

 

 

 

 

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

 

 

 

 

 

 

 

 

 

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

 

 

 

 

 

 

 

 

 

xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"

 

 

 

 

xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"

 

 

 

 

mc:Ignorable="d"

 

 

 

 

 

 

 

 

 

d:DesignHeight="300" d:DesignWidth="400">

 

 

 

 

 

 

 

 

 

 

<Grid x:Name="LayoutRoot" Background="White">

 

 

 

 

 

 

 

 

 

 

<telerikGridView:RadGridView telerikControls:StyleManager.Theme="Office_Silver"></telerikGridView:RadGridView>

 

 

 

 

 

 

 

 

 

 

</Grid>

 

</

 

 

 

UserControl>

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Apr 2010, 07:50 AM
Hi,

Since you have reference to the theme assembly you do not need anything more - just set desired theme using StyleManager.

Regards,
Vlad
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
GridView
Asked by
Wayne Bradney
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or