|
-
May 11th, 2022, 11:24 PM
#1
Thread Starter
Addicted Member
SHould be simple but wow. Datagrid cell value
I want to check a cell value in each row of my datagrid for a negative number and set the background color accordingly. I can't find any way to loop through the rows and check the column (well I did but it shows the itemssource and not the displayed cell content so with a converter it did no good at all)
I tried using the LoadingRow event but that never actually triggers (tried iterating a variable and it never increased in value so I know it was never called)
I can't find any examples of a <style> that will trigger based on positive or negative values either.
DataGridView = Easy while Datagrid = Mystery
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|