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

Styling GridView problem

1 Answer 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 1
Krzysztof asked on 27 Jun 2013, 03:52 PM

Dear Telerik Team!

I am trying to use "implicit styling" as described in:
http://www.telerik.com/help/wpf/styling-apperance-implicit-styles-overview.html

I added the following files to the project:

Telerik.Windows.Controls.xaml
System.Windows.xaml
Telerik.Windows.Controls.Input.xaml
Telerik.Windows.Controls.Navigation.xaml
Telerik.Windows.Controls.GridView.xaml
Telerik.Windows.Controls.ScheduleView.xaml

I believe these files contain all the styles necessary in our project. I also added the necessary entries to Application.Resources dictionary, removed the "telerik:StyleManager.Theme=""" references from our controls XAML's and finally I removed the initialization of StyleManager.ApplicationTheme to ensure that we really use our "implicit styles".

Now - everything seems to work fine (controls like RadMenu, RadMaskedTextBox and other input controls, RadScheduleView! get the correct styles) except for RadGridView. The RadGridViewStyle doesn't get applied from Telerik.Windows.Controls.GridView.xaml. Any ideas? Are we missing some stylesheet files? Or is it something undocumented in the above article.

Many thanks in advance!
Best regards
Krzysztof Kaźmierczak

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 02 Jul 2013, 07:37 AM
Hello,

Would you please ensure that you have referenced NoXaml binaries? 

Generally in order to show the RadGridView you should add the files: System.Windows.xaml, Telerik.Windows.Controls.xaml, Telerik.Windows.Controls.Input.xaml, Telerik.Windows.Controls.GridView.xaml. As I understand you have added all those files.

I am afraid that without a demo project I cannot suggest much. Would you please isolate the issue in a sample solution and send it to us?

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Krzysztof
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or