0
を表示していない:のListBoxは、データ
<ItemsControl ItemsSource="{Binding Path=.}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock FontWeight="Bold" Text="{Binding Category}" />
<TextBlock Text=", " />
<TextBlock Text="{Binding Title}" />
<TextBlock Text=" " />
<Label Content="{Binding ImageUrl}" Foreground="Blue" />
</StackPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
と次のように表示さ空の行(そこdataitemsと同じ数の):
<ListBox ItemsSource="{Binding Path=.}">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock FontWeight="Bold" Text="{Binding Category}" />
<TextBlock Text=", " />
<TextBlock Text="{Binding Title}" />
<TextBlock Text=" " />
<Label Content="{Binding ImageUrl}" Foreground="Blue" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
明示的に 'DataTemplate DataType'を設定する必要がありますか? –