views:

44

answers:

1

Using VS 2008, or Blend 3, is there any way I can get intellisense for the available properties when creating styles in XAML? I thought I heard there was a third-party freebie that did this.

In the snippet below, I want intellisense for the properties like FontSize, Margin, Width, etc.

<Style x:Key="MyTextBoxStyle" TargetType="TextBox">
   <Setter Property="FontSize" Value="12"/>
   <Setter Property="Margin" Value="5"/>
   <Setter Property="HorizontalAlignment" Value="Left"/>
   <Setter Property="VerticalAlignment" Value="Center"/>
   <Setter Property="Width" Value="200"/>
</Style>
A: 

A quick Bing came up with the following link. Don't know if it's applicable in your case, but it sure was in mine. The problem shows up if you install the Windows SDK after VS2008

And Shawn Wildermuth had a good tip for editing Silverlight XAML... use the XML editor instead of what Visual Studio wants to use for all XAML (The WPF Designer)

DashTechnical