This is a migrated thread and some comments may be shown as answers.

Need to set a cell to read only

1 Answer 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 19 Jun 2013, 05:32 PM
Here is what I've been given:  The logic is bound to the grid as a conditional formatting.  On the RowLoaded Event the logic will see if the equipment is in use already.  If it is, it marks the entire row red with white forground.  However there are two editable cells that must be marked readonly.  If not this form will fail the QA testing.

So with only the RowLoadedEventArgs being passed, how do I get to the object to bind to the edit event to bind an event handler that cancels any edit???

1 Answer, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 21 Jun 2013, 08:49 PM
If found I could easily do this by binding my record state to the IsReadOnlyBinding in my xaml.
Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Share this question
or