.NETGURU
How to use property page
Messages   Related Types
This message was discovered on microsoft.public.vsnet.vsip.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Munir Husseini
Hi,

I am trying to create my own editor as a Visual Studio Integration Package
using C#.

I used the Wizard provided by VSIP SDK, replaced the text editor with my own
control and all worked fine.

Now depending on what my editor control shows, some properties should be
shown on the properties window.

How can I do this? How doe I get the properties window and how can I fill
it?

Any help would be appreciated.

Reply to this message...
 
    
Allen Denver [MS] (VIP)
Munir,

Thanks for the question.

You can look at the EnvSDK\CS_Samples\BasicEditor\BasicEditor\EditorPane.cs
sample file for an example of how to interact with the property browser
through the vs selection container.

Good luck.

--
Allen Denver (Microsoft)
http://blogs.msdn.com/allend
-- This post is provided 'AS IS' with no warranties and confers no rights.

"Munir Husseini" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Munir Husseini
Hi Allen,

thanks for your response. I will look at the sample you mentioned. Meanwhile
I've found a solution at
http://blogs.msdn.com/allend/archive/2004/04/09/110303.aspx" target="_blank">http://blogs.msdn.com/allend/archive/2004/04/09/110303.aspx

Combining this with ICustomTypeDescriptor I managed to get the property page
to display the items I want just the way I want.

Regards,

Munir Husseini (iCOMcept)

"Allen Denver [MS]" <Click here to reveal e-mail address> schrieb im Newsbeitrag
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Patrick Germain
Munir

This may be a silly question , unless I'm missing something but how do you
use the
GetProperties method of the ICustomTypeDescriptor ?
The PropertyDescriptorCollection returned by GetProperties is read-only. So
how can I
add a PropertyDescriptor for each of the properties of the object I want to
display in the
Properties Tab .

"Munir Husseini" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.ComponentModel.ICustomTypeDescriptor
System.ComponentModel.PropertyDescriptor
System.ComponentModel.PropertyDescriptorCollection




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification