<Grid> <DataGrid > <DataGrid.RowDetailsTemplate> <DataTemplate> <StackPanel Background="Beige" MouseLeftButtonDown="StackPanel_MouseLeftButtonDown"> <TextBlock Text="Description" FontWeight="Bold"/> <TextBlock Text="{Binding Description}"/> <TextBlock Text="Benefit" FontWeight="Bold"/> <TextBlock Text="{Binding LongBenefit}"/> <TextBlock Text="Special" FontWeight="Bold"/> <TextBlock Text="{Binding Special}"/> </StackPanel> </DataTemplate> </DataGrid.RowDetailsTemplate> <DataGrid.Columns> ... </DataGrid.Columns> </DataGrid> </Grid>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)