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.

How can I hide some properties in a property editor?

Thread ID:

Created:

Updated:

Platform:

Replies:

121344 Dec 3,2015 09:05 AM Dec 17,2015 11:50 PM Windows Forms 5
loading
Tags: Diagram
Blanca Calderon
Asked On December 3, 2015 09:05 AM

Hi,

for my users the mayority of the properties of a node are no interesting, how can I hide them? Is there an easy way?

Thanks,

 Blanca

 

Attachment: Video_1449155092_e7d306de.zip

Swarnesh Krishna Kumar [Syncfusion]
Replied On December 4, 2015 12:53 AM

Hi Blanca,
 
Thanks for contacting Syncfusion support.
 
We are glad to inform you that we have achieved your requirement in simple sample. We suggest you to define the custom properties in a separate class and set the PropertyGrid’s SelectedObject as the customized property defined class and also no need to set the PropertyEditors Diagram property in order to achieve your requirement.
 
Code Example:
 
CommonProperties properties = new CommonProperties();

 
propertyGrid1.SelectedObject = properties;
 
We have attached a sample for your reference.
 
Sample:
 
Sample
 
Regards,
 
Swarnesh K


Blanca Calderon
Replied On December 4, 2015 03:43 AM

Hi Blanca,
 
Thanks for contacting Syncfusion support.
 
We are glad to inform you that we have achieved your requirement in simple sample. We suggest you to define the custom properties in a separate class and set the PropertyGrid’s SelectedObject as the customized property defined class and also no need to set the PropertyEditors Diagram property in order to achieve your requirement.
 
Code Example:
 
CommonProperties properties = new CommonProperties();

 
propertyGrid1.SelectedObject = properties;
 
We have attached a sample for your reference.
 
Sample:
 
Sample
 
Regards,
 
Swarnesh K


Hi,

I couldn't open the sample, in fact it is quite normal that I couldn't open any sample:-(



Attachment: Video_1449222122_f59be031.zip

Naganathan Ganesh Babu [Syncfusion]
Replied On December 7, 2015 04:25 AM

Hi Blanca,
 
Sorry for the inconvenience caused.
 
We have modified the sample to achieve your requirement. Please refer to the below sample.
 
Sample:
 
Sample
 
Regards,
 
Naganathan K G



Blanca Calderon
Replied On December 17, 2015 06:25 AM

Could you send me the sample for framework 3.5?

Naganathan Ganesh Babu [Syncfusion]
Replied On December 17, 2015 11:50 PM

Hi Blanca,

 

We have modified the sample for 3.5 framework as per your last update. Please refer to the below sample. 

Sample:
 
Sample
 
Regards,
 
Naganathan K G


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.

;