I have a wpf datagrid associated with an observable collection. I don't currently have a NewItemPlaceHolder. How to enable NewItemPlaceholder (empty line at the bottom for adding new lines)? This is how I declared my datagrid:
<WpfToolkit:DataGrid x:Name="grid"
ItemsSource="{Binding Path=SampleObservableCollection}"
HorizontalScrollBarVisibility="Hidden" SelectionMode="Single"
CanUserAddRows="True" CanUserDeleteRows="True"
CanUserResizeRows="False" CanUserSortColumns="False"
CellEditEnding="grid_CellEditEnding"
CurrentCellChanged="grid_CurrentCellChanged"
AutoGenerateColumns="False"
RowHeaderWidth="17" RowHeight="25">
<WpfToolkit:DataGrid.Columns> ...
thank
source
share