DataGrid

Allows the user to display (and edit) a table of information



<DataGrid Name="dtgProperties" 
                Grid.Row="0"
                Grid.Column="2"
                Grid.ColumnSpan="5"
                AutoGenerateColumns="False"
                RowHeaderWidth="0">
   <DataGrid.ColumnHeaderStyle>
      <Style TargetType="{x:Type DataGridColumnHeader}">
         <Setter Property="Height" Value="35"/>
         <Setter Property="Foreground" Value="white"/>
      </Style>
   </DataGrid.ColumnHeaderStyle>

   <DataGrid.Columns>
      <DataGridTextColumn Header="Col1"/>
      <DataGridTextColumn Header="Col2"/>
   </DataGrid.Columns>
</DataGrid>



© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext