This question is locked. New answers and comments are not allowed.
Hi,
For my combobox I have a custom data template as follows
| <DataTemplate x:Key="ComboBoxCustomTemplate"> |
| <Grid Margin="5,5,5,5"> |
| <Grid.ColumnDefinitions> |
| <ColumnDefinition Width="150" /> |
| <ColumnDefinition Width="150"/> |
| <ColumnDefinition Width="150"/> |
| <ColumnDefinition Width="75"/> |
| <ColumnDefinition Width="100"/> |
| <ColumnDefinition Width="50"/> |
| <ColumnDefinition Width="50"/> |
| </Grid.ColumnDefinitions> |
| <TextBlock Grid.Column="0" Text="{Binding Name}" /> |
| <TextBlock Grid.Column="1" Text="{Binding Address}" /> |
| <TextBlock Grid.Column="2" Text="{Binding City}" /> |
| <TextBlock Grid.Column="3" Text="{Binding ClaimNumber}" /> |
| <TextBlock Grid.Column="4" Text="{Binding Status}" /> |
| <TextBlock Grid.Column="5" Text="{Binding Assigned}" /> |
| <TextBlock Grid.Column="6" Text="{Binding EntityId}" /> |
| </Grid> |
| </DataTemplate> |
This gives a nice grid like look. for the drop down. But how do i get column headers for each column so that they don't repeat with each bound item?
thanks!