Styling the grid view exclusively from XAML

2 posts, 0 answers
  1. Jay
    Jay avatar
    8 posts
    Member since:
    Feb 2014

    Posted 27 May 2014 Link to this post

    Hi there,

    I realize this has been around a few times but I couldn't find a good answer here or in the demo apps, so..

    How can we adjust the appearance of the WPF GridView from xaml without using Blend?
    Currently we're using the "Office_Silver" theme and are pretty happy with it.

    All we'd like to do is to remove the mouse-over animation for the header row and change the background and text color for the selected cells.

    Shouldn't this be possible with 2-3 lines of XAML?

    Thanks,
    Jay
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1218 posts

    Posted 27 May 2014 Link to this post

    Hello,

    One way or another, the change has to be made in the respective control's template. One of the options is to use Blend. On the other hand, if you use our implicitly styled themes, you will be able to make inline changes in xaml, as you will have access to the default styles and templates that are available in separate ResourceDictionary files.

    Regards,
    Ivan Ivanov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top