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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

sub classing the controller

Thread ID:





27190 Apr 7,2005 02:29 PM UTC Apr 8,2005 09:20 PM UTC WinForms 3
Tags: Diagram
Administrator [Syncfusion]
Asked On April 7, 2005 02:29 PM UTC

HI, I am attempting to subclass the controller class and am having an issue with objects once they are added to the model. they display fine but the controller appears to no longer recognize any tools such as select or move. I guess I expected to retain all functionality when inheriting from the controller class, and overriding/extending those items I wanted as I needed. Is this an incorrect assumption. Do I need to add all my own tools or am I doing something wrong? thanks, Steve

Administrator [Syncfusion]
Replied On April 7, 2005 11:22 PM UTC

Hi Steve, Looks like you have used the Syncfusion.Windows.Forms.Diagram.Controller type as the base for your subclassed Controller. Interactive tools are actually registered by the Syncfusion.Windows.Forms.Diagram.DiagramController class, a subclass of the Controller type that is used by the Diagram control. It is the DiagramController class that you should set as the base for your subclassed Controller. Regards, Prakash Surendra Syncfusion Inc.,

Administrator [Syncfusion]
Replied On April 8, 2005 01:42 PM UTC

Great that worked like a charm. By the way the reason I used the controller class was per your example in the Knowledge base documentation: http://www.syncfusion.com/support/kb/diagram/Default.aspx Steve

Administrator [Syncfusion]
Replied On April 8, 2005 09:20 PM UTC

Steve, Thanks for pointing that out. The knowledgebase article has been corrected. Prakash Syncfusion Inc.,


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