Hi there,
is it possible to check if a Cell in the XamdataGrid isEnabled in another way as with the CellValuePresenter.FromCell(cell).IsEnabled?
Because i have the Problem that my grid is very large and if i edit the header of my grid all cells in the columns should apply the value in the header but just if the cell is enabled. And when the column is longer than my screen i can´t check the isEnabled property of some cells because they are not in view. But i have to know the isEnabled-Property.
Do you have any idea?
regards
Cloud
nobody knows how i get the .IsEnabled Property of a Cell?
Hello Cloud,
Thank you for contacting our community.
I have been looking into your post but I will need more details about how you set the cell’s IsEnabled property so that I could provide you with a better solution. Also I could suggest you to have a look at the sample in this forum thread where a property is defined to check if the record is read only. If the property is set to true the CellValuePresenter IsEnabled property is set to true. By defining a property to check if the cell is read only, you could get its value no matter if the cell is in view or not.