更新时间:2023-12-03 11:48:58
看看这个
突出显示WPF ListView中的项目 [ ^ ]
Goal:
Change the listview's background color to light colored grey if the current time pass the appointment time. For instance, the time is 10.15 and you have background color for the 09.30 - 10.30 and 10.00 - 11.00.
Problem:
I do not know what syntax I need to use in order achieve the goal.
Information:
- I'am using Nhibernate to retrive the data.
- This is a usercontrol.
A picture.
http://social.msdn.microsoft.com/Forums/getfile/466353[^]
Have a look at this
Highlighting Items in a WPF ListView[^]
try this.. :)
WPF ListView - how do i set selected item background colour?[^]
how-to-highlight-selected-row-in-wpf-listview-control-with-alternating-backgroun[^]
how-to-set-wpf-listview-selected-item.html[^]
listview-selected-color-background-and-other-background-colors?forum=wpf[^]