Is There A Way To Style A WPF DataGrid NewItem Placeholder

Viewed 3788

I have a simple data control defined as follows

<DataGrid x:Name="ScheduleDataGrid" AutoGenerateColumns="False" CanUserAddRows="True" CanUserDeleteRows="True" Margin="5" ItemsSource="{Binding ScheduleItems}">
    <DataGrid.Columns>

        <DataGridTextColumn...></DataGridTextColumn>
        ....
        <DataGridTextColumn...></DataGridTextColumn>
    </DataGrid.Columns>
</DataGrid>

I have specified CanUserAddRows="True". As advertised, this puts a blank row at the bottom of the grid for the user to add a new row.

Is there a way to style that new item placeholder independently of the rest of the grid?

1 Answers
Related