I am new to wpf/.net (old school vb6).
I need to fill a datagrid.(that is no proglem), by issue is this.
first col is a name the second, third..... are a value of Pass or Fail.
What i need to do is if the value is Pass then I want a button in that col/row to be Green
if the value is Fail then i need a button to be Red.
I was pointed to converters but i have no clue, any direction would be great.
Lee
Loading
steve phillipsPosted Sep 2, 2010, 1:18 AM
yes it's great information, and Window loaded is not even being called. it just seems to be so convalutedthe String. thanks for sharing.
_______________________________________________________-
Mamta MPosted Aug 9, 2010, 11:14 PM
You have to first associate the Loaded event with its corresponding event handler. Have you done that? Here's how you do it. Cllick on the Window in designer view. Open the Properties window. Go to the Events tab (by clicking the lightning symbol on the top). In the events list, locate Loaded and in the dropdown next to it, select your already created Window_Loaded event handler. That 's it and you're done. Now the event will be definitely called.
-Mamta
lee hopkinsPosted Aug 9, 2010, 3:35 PM
Window_Loaded is not even being called.
it just seems to be so convaluted.
and it does not help i am an old VB6 programer
Mamta MPosted Aug 5, 2010, 11:15 PM
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/e7e4efa5-1319-4115-b3ec-319c085dae53