I’m using WPF DataGrid and there is an extra column on the right side.
How can I remove it ?

XAML:
<Grid>
<DataGrid ItemsSource="{Binding Persons}" Background="LightBlue" AutoGenerateColumns="False" Width="200">
<DataGrid.Columns>
<DataGridTextColumn Header="First Name" Binding="{Binding FirstName}" Width="200"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
You can set RowHeader width to 0, but not actually remove the RowHeader itself, as far as I know. You can use this line of code after InitializeComponent():
EDIT: Note that user will not be able to select rows(for example for deleting) if you do this.