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.

Possibility to show custom properties for model

Thread ID:

Created:

Updated:

Platform:

Replies:

70248 Dec 4,2007 03:05 AM Dec 5,2007 06:01 AM Windows Forms 1
loading
Tags: Diagram
Maurus Erni
Asked On December 4, 2007 03:05 AM

Hi

I'm evaluating Essential Diagram.
I like the property editor and how it works (showing the properties of the selected symbol).

For my application I need to show custom properties on the model (default font, default alignment and default color for all symbols).

This is not possible as all properties of the model are shown if no symbol is selected in the diagram.

- What are the possibilities to show custom properties of the model if no symbol is selected?

- Is it possible to show no properties if no symbol is selected? This would also be a solution for me.

Thanks for your help in advance.
Maurus


Bhuvaneswari P [Syncfusion]
Replied On December 5, 2007 06:01 AM

Hi Maurus,

Thanks for evaluating Syncfusion products.

Regarding Diagram PropertyEditor
-------------------------------------------------

- This control displays and and allow the users to edit the properties of objects in a Diagram.

- This control contains an embedded System.Windows.Forms.PropertyGrid that is used to edit objects in a Diagram.

- Object that the property editor is attached to. Once it is attached to a Diagram, the property editor automatically displays the currently selected object in the Diagram.


By setting the diagram object to Diagram PropertyEditor through we can enable the property window for that Diagram.
this.propertyEditor1.Diagram = this.diagram;

Please download the below sample from the link for displaying the custom properties in the PropertyEditor.
http://websamples.syncfusion.com/samples/Diagram.Windows/F70248/main.htm

For custom symbol and properties please take a look into this sample from the sample browser
\\Syncfusion\EssentialStudio\X.X.X.X\Windows\Diagram.Windows\Samples\2.0\In Depth\Expander

Features:
----------
- What are the possibilities to show custom properties of the model if no symbol is selected?

- Is it possible to show no properties if no symbol is selected? This would also be a solution for me

For the above features, currently we don't have support. The behavior of Property editor is like our .Net Property window. If you do not select any controls in the form, by default it will display the Form properties. Similarly Diagram property window displays Model properties, if you do not selected any node.

Please let me know if you have any questions.

Best Regards,
Bhuvana




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.

;