Hi,
In my grid all my rows are Bold. When the row is selected for 4 seconds I set the style to normal.(It's like in an email-client, the read/unread expierience)
In the CellControlAttached event I evaluate the protery Read, and set the style accordingly.
This works fine, most of the time, but sometimes the event is not fired, although the property is changed and implements the INotifyPropertyChanged.
With a lot of testing I am pretty sure that it fails when the grid is loaded and the horizontal scrollbar is visible. If the grid is wide enough, no horizontal scrollbar is needed, it works fine....
Can you please look into this, I need this code to go into production the next days.
Thank you,Bart
Hi Bart,
Not just the row, but the particular cell must be in View.
You could always call InvalidateData off of the xamGrid as well, which will cause the xamGrid to be invalidated.
-SteveZ
I click on the row, and wait for 4 secods, so the row is visible.
I can't recreate this problem in a sample project...
Is there anyway to force this event, to refresh the layout of my visible rows? This would also solve my problem
Thx,Bart
The CellControlAttached event will only fire for INotifyPropretyChanged on cells currently in view. So if the cell, that has its property changing is out of view, then the CellControlAttached event won't fire.