Ho un WPF DataGrid ..Come bloccare prima colonna del WPF DataGrid
voglio congelare prima colonna che WPF DataGrid mentre scrlling orizzontale ..
Il mio codice è:
<DataGrid Name="dgQuestionTemplate" HorizontalAlignment="Left" Grid.Row="1" Width="870" HorizontalScrollBarVisibility="Auto" IsReadOnly="False">
<DataGrid.Columns>
<DataGridTextColumn Binding="{Binding ExamDate}" Header="Date" IsReadOnly="True" Width="90" />
<DataGridTextColumn Binding="{Binding ExamName}" Header="Test Name" IsReadOnly="True" Width="195" />
<DataGridTextColumn Binding="{Binding Batch}" Header="Batch" IsReadOnly="True" Width="100" />
<DataGridTextColumn Binding="{Binding ExamTime}" Header=" Count Down [Days: hr: min: sec]" IsReadOnly="True" Width="*" />
</DataGrid.Columns>
</DataGrid>