Hello,
I think you could define a CellEditor:
<xcdg:CellEditor x:Key="myEditor">
<xcdg:CellEditor.EditTemplate>
<DataTemplate>
<TextBox Text="{xcdg:CellEditorBinding}" />
</DataTemplate>
</xcdg:CellEditor.EditTemplate>
</xcdg:CellEditor>
Then you could add this CellEditor to the Columns property of DataGridControl :
<xcdg:Column Width="150" Title="My Title" FieldName="Name" CellEditor="{StaticResource myEditor}">
Before, you would have to define a DataGridItemProperty to bind this editable column to items in your ObservableCollection<int>.
<xcdg:DataGridCollectionViewSource x:Key="myCollectionViewSource" AutoCreateItemProperties="False">
<xcdg:DataGridCollectionViewSource.ItemProperties>
<xcdg:DataGridItemProperty Name="Name" ValuePath="What here?" />
</xcdg:DataGridCollectionViewSource.ItemProperties>
</xcdg:DataGridCollectionViewSource>
The problem is that I don't know what to put in the ValuePath property to do it. This property is used to define a path in classes.
So, if someone knows how to define correctly a DataGridItemProperty to 'self'...
Thanks