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

applying themes on gridview

0 Answers 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
kumar p
Top achievements
Rank 1
kumar p asked on 08 Jun 2010, 04:59 AM

hi,  i have developed an custom themes below is the screen shoot of the hierarchy image .i wanted the theme to be applied on gridview in mainpage.xaml. i am  using SL 4
in the mainpage.xaml i have  added the below code

 

 

 

public MainPage()

 

{

InitializeComponent();

uri_resource =

 

new Uri("Theme/Bluetheme.xaml", UriKind.Relative);

 

ImplicitStyleManager.SetResourceDictionaryUri(RadGrid1, uri_resource);

ImplicitStyleManager.SetApplyMode(RadGrid1, ImplicitStylesApplyMode.Auto);

ImplicitStyleManager.Apply(RadGrid1);
// here i get an error  ImplicitStyleManager cannot be found in the curent context.

CallToServiceForGrid();

}

 

 

 how can i applay theme  for the  gridview. any solution would be greatly appreciated.
 thanks
 kumar

No answers yet. Maybe you can help?

Tags
GridView
Asked by
kumar p
Top achievements
Rank 1
Share this question
or