Browse by Tags
All Tags » Styles » DataTemplate (RSS)
-
Hi,
I'm trying to customize my DataGrid display depending on the data it contains.
What I need to have is:
1) Changing the colour of some DataRows depending on a property of the displayed object (in order to highlight the active DataRows)
2) Displaying some entire DataRows with strikethrough text depending on a property of the displayed ...
-
We had the same problem, here is a workaround:
create a global ResourceDictionary with an associated CodeBehind file
http://stackoverflow.com/questions/92100/is-it-possible-to-set-code-behind-a-resource-dictionary-in-wpf-for-event-handli
////////////////////////////////// XAML ...
-
Hello ,
I have been searching for pointers as to how to change the foreground color of a Datacell to red if the value is negative and to green if the value is positive.
I thought of using Datatriggers , but the problem is that the comparison in DataTriggers is always equation there is no way I can say that a value is > or < than zero ...
|
|
|
|