Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <DataGrid Grid.Row="0" Grid.RowSpan="2" Grid.Column="1" ItemsSource="{Binding SelectedData}">
- <DataGrid.Columns>
- <DataGridTextColumn Header="Dev-Code" Binding="{Binding ageCode}" IsReadOnly="True" />
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <ComboBox x:Name="cmbDName" Margin="2" ItemsSource="{Binding ageName }" IsReadOnly="False"
- SelectedItem="{Binding ageName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
- SelectedValuePath="ageNameId"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
Add Comment
Please, Sign In to add comment