how to show properties of the custom control in visual studio IDE 2008 properties window?
-
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.
-
Answer:
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 http://msdn.microsoft.com/en-us/library/bb628660.aspx in the Visual Studio help, or http://blogs.msdn.com/jnak/archive/2007/08/10/adding-design-time-metadata-to-cider-and-blend.aspx 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.
ranganaMIT at Stack Overflow Visit the source
Related Q & A:
- How to refresh the Properties Window programatically?Best solution by Stack Overflow
- How can you change the line color in Visual Studio?Best solution by Stack Overflow
- How to Create Visual Studio 2013 Extension?Best solution by Stack Overflow
- Is visual studio a good IDE for Python?Best solution by Stack Overflow
- In Visual Studio 2012 or 2013, how can I register a DLL file on Windows 7 64-bit computer using a Custom Action command?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.