This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi there, If I defined a style for DataGridRow as in the following, How do we use it in the DataGrid?
Thanks, Gordon |
|
|
Hello Gordon I would recommend removing the x:Key property. By only setting the TargetType of the Style to ms:DataGridRow, WPF will automatically apply this to all DataGridRow instances that are using the resource dictionary that your style is in. -Jason Fauchelle |
|