I'm trying to use a simple ListBox Inside Director Plugin :
Code: Select all
<UserControl x:Class="ListBoxTest.Window"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<ListBox Margin="20">
<ListBoxItem>New York</ListBoxItem>
<ListBoxItem>Los Angeles</ListBoxItem>
<ListBoxItem>Paris</ListBoxItem>
<ListBoxItem>Zurich</ListBoxItem>
</ListBox>
</Grid>
</UserControl>
.ControlTemplate TargetType 'ListView' does not match the type 'ListBox' based on a model
I don't how to solve this problem. I know the control's Plugin get the Ventuz Theme. I tried to apply another style to the ListBox, but with no luck.
Do you know why ListBox can't be load Inside Director Plugin ?