Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Director Plugin and ListBox

Post requests for new Director features or report bugs to this forum group. Any suggestion to expand the possibilities of Ventuz Director are welcome.
Post Reply
mofo7777

Director Plugin and ListBox

Post by mofo7777 » 11 Feb 2014, 14:56

Hello.

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>
The Plugin fails with this error :
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 ?

mofo7777

Re: Director Plugin and ListBox

Post by mofo7777 » 11 Feb 2014, 15:15

Re.

It's OK for me because I can use a ListView instead of a ListBox...

Post Reply