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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to accessing... From Symbol Object To Diagram

Thread ID:





13947 May 13,2004 10:26 PM UTC May 18,2004 01:32 PM UTC WinForms 1
Tags: Diagram
Administrator [Syncfusion]
Asked On May 13, 2004 10:26 PM UTC

Hi~ there... I want to acess a Diagram or Parent Form of the Diagram from Sysmbol Object. How can I try it? I need your advice....

Administrator [Syncfusion]
Replied On May 18, 2004 01:32 PM UTC

Sejong, There isn''t any way to access the control instance from the Diagram drawing entities. Essential Diagram uses the MVC architecture and the drawing objects are aware only of their Model, which in turn adheres to classic MVC requirements of remaining a true state engine and maintains no direct links to it''s viewport or controller. While an option here would be for your application to subclass the Diagram.Model class, and provide it with a custom property that is set to reference the host Control during initialization, this approach would be contrary to one of the central tenets of MVC. Far as possible, I would recommend that you modify your design so that your Symbol objects operate independent of their host control. Regards, Prakash


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon