tags:

views:

15

answers:

1

hi guys,

i have created a custom graph control in WPF, now i want to show it's properties in the properties window in visual studio IDE 2008, so a user can change the properties at the design time.how can i do it in WPF custom controls?? please help me guys??

regards, rangana.

A: 

You don't need to do anything: Visual Studio will work it out by inspecting the control's API.

However, you can ship a .design.dll assembly to customise or improve the experience. See WPF Designer Extensibility in the Visual Studio help, or Jim Nakashima's article for a more tutorial walkthrough. But to reiterate this additional metadata is optional and your users will be able to configure most basic properties without it.

itowlson