Dane DesignTime nie są wyświetlane w Blend, gdy są powiązane z CollectionViewSource

Mam tabliczkę danych dla modelu widoku, w którym itemscontrol jest powiązany z CollectionViewSource (aby umożliwić sortowanie w xaml).

<DataTemplate x:Key="equipmentDataTemplate">
    <Viewbox>
        <Viewbox.Resources>
            <CollectionViewSource x:Key="viewSource" Source="{Binding Modules}">
                <CollectionViewSource.SortDescriptions>
                    <scm:SortDescription PropertyName="ID" Direction="Ascending"/>
                </CollectionViewSource.SortDescriptions>
            </CollectionViewSource>
        </Viewbox.Resources>
        <ItemsControl ItemsSource="{Binding Source={StaticResource viewSource}}" 
                      Height="{DynamicResource equipmentHeight}" 
                      ItemTemplate="{StaticResource moduleDataTemplate}">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <StackPanel Orientation="Horizontal" />
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>
    </Viewbox>
</DataTemplate>

Mam także konfigurację UserControl, gdzie wszystko to jest zdefiniowane, aby dostarczyć dane o czasie designtime

d:DataContext="{x:Static vm:DesignTimeHelper.Equipment}">

Jest to w zasadzie statyczna właściwość, która daje mi EquipmentViewModel, który ma listę ModuleViewModels (Equipment.Modules). Tak długo, jak łączę się z CollectionViewSource, dane czasu designtime nie pojawiają się w mieszance 3. Kiedy łączę się bezpośrednio z kolekcją ViewModel

<ItemsControl ItemsSource="{Binding Modules}"

Widzę dane dotyczące czasu designtime. Masz jakiś pomysł, co mógłbym zrobić?

questionAnswers(3)

yourAnswerToTheQuestion