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

"Simple" Theme missing?

2 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jonathan Miller
Top achievements
Rank 1
Jonathan Miller asked on 17 Sep 2008, 05:10 PM
I am running Q2 2008, release date 9/10/2008 WPF.

Trying to use 

telerik

:Theming.Theme="Simple" //as stated in documentation

Only have  Caramel, Summer, Telerik available.

How/where can I get the simple theme?  I need to present to mgmt about this product to purchase in 2 days. thx

2 Answers, 1 is accepted

Sort by
0
Atanas
Telerik team
answered on 18 Sep 2008, 10:39 AM
Hello Jonathan Miller,

Our Simple theme is not a built-in theme for RadGridView. The Simple theme is built in an external assembly.
That's why you have to add a reference in your project to Telerik.Windows.Controls.Simple assembly and add a XAML namespace to it:

<Window x:Class="WpfApplication1.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
    xmlns:simple="clr-namespace:Telerik.Windows.Controls.Simple;assembly=Telerik.Windows.Controls.Simple" 
    Title="Window1" Height="415" Width="559"
    <Grid> 
        <telerik:RadGridView Name="radGridView1"
            <telerik:Theming.Theme> 
                <simple:SimpleTheme/> 
            </telerik:Theming.Theme> 
        </telerik:RadGridView> 
    </Grid> 
</Window> 
 

I am attaching you a sample project. I hope this solves your issue.

Regards,
Atanas
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jonathan Miller
Top achievements
Rank 1
answered on 18 Sep 2008, 12:50 PM
This will work great, thanks.

Here is where I found the reference to the "Simple" theme on radgridview for wpf:

http://www.telerik.com/help/wpf/gridview-styling-using-themes.html

Thanks again for your help
Tags
GridView
Asked by
Jonathan Miller
Top achievements
Rank 1
Answers by
Atanas
Telerik team
Jonathan Miller
Top achievements
Rank 1
Share this question
or