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.
Syncfusion Feedback

How to accessing... From Symbol Object To Diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

13947 May 13,2004 10:26 PM UTC May 18,2004 01:32 PM UTC Windows Forms 1
loading
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

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.

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

;