We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Property Grid - adding property tabs

Thread ID:

Created:

Platform:

Replies:

279 May 21,2002 12:04 PM Windows Forms 0
loading
Tags: FAQ
Sebastien Lange
Asked On May 21, 2002 12:04 PM

Hi, To add a property tab to my property grid, I add the following attribute to my class: [PropertyTab(typeof(myPropertyTab), PropertyTabScope.Component)] Then I assign my class to the SelectedObject of the property grid, and my own tab appears. The documentation for PropertyTabAttribute says: Identifies the property tab or tabs to display for the specified class or classes. But how can I add more than 1 tab? Secondly, is it possible to add other buttons to the property grid toolbar. I want to add my own buttons, like (dynamically) add a property, remove, refresh... Thanks, Sebastien

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;