Hey. There is a dataGridview -
<DataGrid x:Name="DataGridXAML" HorizontalAlignment="Left" Height="441" Margin="10,89,0,0" VerticalAlignment="Top" Width="1044"> <DataGrid.Columns> <DataGridTextColumn Header="ID сотрудника"/> <DataGridTextColumn Header="Имя" Width="100"/> <DataGridTextColumn Header="Фамилия" Width="120"/> <DataGridTextColumn Header="Отчество" Width="*"/> </DataGrid.Columns> </DataGrid> How can the number of columns, their name and other parameters be changed through the code?
From another xaml page.
DataGridXAML- user227049