.NET Framework Bookmark and Share   
 index > Windows Presentation Foundation (WPF) > Adding to XAML Intellisense
 

Adding to XAML Intellisense

1. Is there a way to add intellisense data for new controls (e.g. UserControl) such that the properties show up in intellisense?

2. For the defualt namespaces why is "http:// schemas.microsoft.com/winfx/2006/xaml" used? These are not real links so why are they in hyperlink format?

Greg McPherran

1) In Visual Studio 2008 RTM, properties you add to UserControls do show up in intellisense.

2) The namespaces are URIs, and hyperlinks like this are a convenient (and readable)way ensure that the namespaces are globally unique.It's an xml tradition.

Regards,

Nick.

Nick Holmes - Coyote Software

1) In Visual Studio 2008 RTM, properties you add to UserControls do show up in intellisense.

2) The namespaces are URIs, and hyperlinks like this are a convenient (and readable)way ensure that the namespaces are globally unique.It's an xml tradition.

Regards,

Nick.

Nick Holmes - Coyote Software

1) In Visual Studio 2008 RTM, properties you add to UserControls do show up in intellisense.

Hi Nick,

We have MSDN and are using VS 2008 RTM. I define and use a UserContol in another XAML UI and the properties do not show up in intellisense - I think even Dependency Properties don't show up. (It compiles OK of course.) Is there anything special I need to do such as add data to Visual Studio xsd schema file?

Thank You

Greg McPherran

No, I dont think so. For me it just worked. I assume that VS is using reflection to discover the properties.

(If you send me an email, I can send youa screenshot of what I see - address in profile).

Regards,

Nick.

Nick Holmes - Coyote Software

You can use google to search for other answers

Custom Search

More Threads

• extract Storyboard from ControlTemplate
• Setting focus to a popup
• Animating expander collapse/expand in xaml ?
• DataGrid CellEditEnding with messagebox fires multiple times
• Populating a Treeview in wpf
• Can I add New Cursor to Cursor Used in Blend
• How to create strached ListBox items template
• CustomControl define property datasource for an internal element
• Updating a parent window component from a modal child
• Flatten TreeView Hierarchy