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

Styling the grid view exclusively from XAML

1 Answer 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 27 May 2014, 07:37 AM
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

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 27 May 2014, 02:40 PM
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.
 
Tags
GridView
Asked by
Jay
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or