In a DataGrid like this :
<DataGrid AutoGenerateColumns="False" Height="200" Name="dataGrid" IsReadOnly="True" ItemsSource="{Binding CollectionView}" > ... </Datagrid>
How do you disable the multi selection feature ?
(I'm sure it's simple, but I don't find it.)
Set the DataGrid.SelectionMode:
<DataGrid SelectionMode="Single" ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With