Posted 7 October 2020, 10:24 pm EST
Hi,
I’m working with C1DockGroup and MVVM. My problem is when I bind the itemssource, item’s not be added in C1DockGroup and throws invalid child error. Please do the needful and please refer my below xaml code.
<c1:C1DockControl x:Name=“dockControl” Grid.Row=“2” ItemDockModeChanged=“DockControl_ItemDockModeChanged” PickerLoading=“DockControl_PickerLoading”>
<c1:C1DockGroup Name=“dockGroup” ItemsSource=“{Binding DockGroupItems,UpdateSourceTrigger=PropertyChanged}”>
c1:C1DockGroup.ItemTemplate
c1:C1DockTabControl
<c1:C1DockTabItem Header=“{Binding Department}”></c1:C1DockTabItem>
</c1:C1DockTabControl>
</c1:C1DockGroup.ItemTemplate>
</c1:C1DockGroup>
</c1:C1DockControl>
public ObservableCollection DockGroupItems = new ObservableCollection();
Thanks and Regards,
Vinoth Kumar Ravi