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.

custom properties on shapes

Thread ID:

Created:

Updated:

Platform:

Replies:

70871 Jan 5,2008 08:05 PM Jan 11,2008 11:49 PM Windows Forms 3
loading
Tags: Diagram
Roger Hawkins
Asked On January 5, 2008 08:05 PM

hi,

I have seen some posts relating to this but it is still not clear to me if this is possible.
1/
Can I create a shape (for the pallet - perhaps as part of a libary) that has custom properties so that when the user views the properties they see either a custom properties tab with these or the ability to hide existing shape properties and just show custom ones?
2/
Alternatively (and ideally) rather than show the propeties window could you show a completey different window for capturing custom propeties?

3/
do these propeties get saved out as part of the diagram XML so they could be parsed and then updated in a database for this diagram for instance?

thx



Jisha Joy [Syncfusion]
Replied On January 9, 2008 07:31 AM

Hi Rhawk,
Thank you fro posting query to us.

Please refer the following samples in the sample browser shipped with our products:
{install drive}:\Documents and Settings\{username}\My Documents\Syncfusion\EssentialStudio\6.1.0.34\Windows\Diagram.Windows\Samples\2.0\Symbol Design\CustomSymbol

This sample demonstrates how to customize the behavior of a symbol designed with the Essential Diagram SymbolDesigner by subclassing it at the application level.

{install drive}:\Documents and Settings\{username}\My Documents\Syncfusion\EssentialStudio\6.1.0.34\Windows\Diagram.Windows\Samples\2.0\Symbol Design\DynamicSymbol
This sample demonstrates a programmatically defined symbol type that responds to user actions.The MySymbol class defines the symbol geometry, and handles mouse and click events to dynamically change certain display attributes of the symbol.The sample also shows the serialization implementation required for custom symbol classes.

Kindly try this and let me know if you need further assistance.
Thanks,
Jisha


Roger Hawkins
Replied On January 11, 2008 09:35 PM

thx.



Jisha Joy [Syncfusion]
Replied On January 11, 2008 11:49 PM

Hi Rhawk,

Thank you for your update.

Regards,
Jisha



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.

;