Styling GridView problem

2 posts, 0 answers
  1. Krzysztof
    Krzysztof avatar
    14 posts
    Member since:
    Oct 2007

    Posted 27 Jun 2013 Link to this post

    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

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Jul 2013 Link to this post

    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 >>
Back to Top