<DataGrid ...> ... <DataGridComboBoxColumn SelectedValueBinding="{Binding Path=TimeInterval.Start}" .... <DataGridComboBoxColumn.ElementStyle> <Style TargetType="ComboBox"> <Setter Property="ItemsSource Value="{Binding Path=data ..... <DataGridComboBoxColumn.EditingElementStyle>.......
class Shift { .... public TimeInterval TimeInterval {get {...} set {...}} public int ShiftSize { get {...} set {..}}} class TimeInterval { public double Start { get {...} set {...}}
<TextBlock Text="{Binding Path=TimeInterval.Start ....
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)