tags:

views:

14

answers:

1

I am trying to use an expander control on a silverlight application. If I just drop it onto the design surface and rebuild the project the Intellisense for XAML suddenly stops working. If I then just remove the control from the XAML markup and rebuild it starts working again. I can even leave the namespace. Not sure if I have some sort of old version or if the control I have is somehow broken. I have reinstalled VS with no success in fixing this issue.

xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"

< toolkit:Expander Height="100" HorizontalAlignment="Left" Margin="32,47,0,0" Name="expander1" VerticalAlignment="Top" Width="150">
            <Grid Height="Auto" HorizontalAlignment="Stretch" Name="grid1" VerticalAlignment="Stretch" Width="Auto" />
        </toolkit:Expander>
A: 

Do you have the space in < toolkit:Expander also in your original XAML? Then you must remove that space.

herzmeister der welten
No I had to add the space when I was trying to get the text into the stackoverflow input textbox, it seemed to be trying to interpret the input.
Mark