Since the relation could not be selected on the GanttView, and there are not way to delete such relation.
I tried, to create column to show all dependency of a task as beloging:
My Intention was, when a user deselected a checkbox(inside the combobox) , will send a command to the ViewModel.
My problem is:
1- At the ViewModel, Because The GanttView Lost it focus, the SelectedItem is null.
2- Since SelectedItem is null, I will need to pass 2 parameter in CommandParameter, how could I do that?
are there any good way to manipulate relation deletion?
I tried, to create column to show all dependency of a task as beloging:
<telerik:ColumnDefinition MemberBinding="{Binding DependencyDisplay}" Header="Dependency" ColumnWidth="100" > <telerik:ColumnDefinition.CellEditTemplate> <DataTemplate> <telerik:RadComboBox VerticalAlignment="Center" x:Name="DependencyCombo" ItemsSource="{Binding Dependencies}" ItemTemplate="{StaticResource ComboBoxCustomTemplate2}" SelectionBoxTemplate="{StaticResource ComboBoxSimpleTemplate}" /> </DataTemplate> </telerik:ColumnDefinition.CellEditTemplate> </telerik:ColumnDefinition>
My Intention was, when a user deselected a checkbox(inside the combobox) , will send a command to the ViewModel.
My problem is:
1- At the ViewModel, Because The GanttView Lost it focus, the SelectedItem is null.
2- Since SelectedItem is null, I will need to pass 2 parameter in CommandParameter, how could I do that?
are there any good way to manipulate relation deletion?