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

Set Cell to Edit mode from code

0 Answers 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
centuit
Top achievements
Rank 1
centuit asked on 08 May 2012, 12:16 AM
Hi,

I read most of your threads and I did not find way to do the following:

I have a requirement to set a single cell in the selected row from code behind using the SelectedItem property content which is a custom object. I am using your latest version and running Silverlight 5, can you please help.

Tried using _dataGrid.ItemContainerGenerator.ContainerFromItem(this._dataGrid.SelectedItem);
but it always returns null, I event even tried using ContainerFromIndex and putting a hard coded number, but it always returns null.

Thanks
Tags
GridView
Asked by
centuit
Top achievements
Rank 1
Share this question
or