This question is locked. New answers and comments are not allowed.
I need to create a grid that is a similar layout to the Silverlight Toolkit DataForm control. The grid allows indexing of fields in a vertical orientation. The grid requires 2 columns : the first is the label for the index field, the second is the field for editing the value.
The grid binds to an ObservableCollection<IndexFieldViewModel>. The IndexFieldViewModel exposes both FieldName and Value properties, with the label and value grid columns binding to those properties respectively.
I started down the road of leveraging the selection column for the label, but read on the forum that it was not possible to bind values into this column. So I am now implementing 2 data columns, the first (label) which is read-only, and the second (value) which is editable.
My difficulty is that I need the label column to be skipped for the purposes of navigation :
1) if you tab through the grid, the label cell should be skipped and focus should be placed on the value cell of that row;
2) if you shift-tab through the grid, the label cell should be skipped and focus should be placed on the value cell of the previous row;
3) if you mouse-click on the row, focus should automatically shift to the value cell in that row.
After inspecting the documentation and forums, it was not clear how this could be done. Can you point me in the right direction?
Thanks,
Mark