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

EnableCentralPort=false when drap&drop from palettegroupbar

Thread ID:

Created:

Updated:

Platform:

Replies:

105786 Nov 19,2012 11:26 AM UTC Nov 26,2012 12:40 PM UTC WinForms 3
loading
Tags: Diagram
Blanca Calderon
Asked On November 19, 2012 11:26 AM UTC

Hi,

When I select an image from palettegroupbar I want to disabled centralport. Moreover I want to hide pinpoint and rotationhandle. Is it possible?

Thank you.

Regards,

    Blanca

 

 

 


Senthil Kumar M [Syncfusion]
Replied On November 23, 2012 07:36 AM UTC

Hi Blanca, 

Thanks for your interest in syncfusion products.

We are glad to inform you that we have achieved your requirement in the below sample and the same can be downloaded from the below link.

<Code>

[C#]

void EventSink_NodeCollectionChanged(Syncfusion.Windows.Forms.Diagram.CollectionExEventArgs evtArgs)

{

 if (evtArgs.ChangeType == Syncfusion.Windows.Forms.Diagram.CollectionExChangeType.Insert)

 {

  if (evtArgs.Element is FilledPath)

  {

   FilledPath filledPath = evtArgs.Element as FilledPath;

   filledPath.EnableCentralPort = false;

   //Hide Pinpoint and RotationHandle.

   filledPath.EditStyle.HidePinPoint = false;

   filledPath.EditStyle.HideRotationHandle = false;

  }

 }

}

</Code>

 

Here is the sample.

Sample

 

Please let us know if any concerns.

Regards,

Senthilkumar.M

Blanca Calderon
Replied On November 26, 2012 10:41 AM UTC

Thank you!!


Amsath Ali M [Syncfusion]
Replied On November 26, 2012 12:40 PM UTC

Hi Blanca,

 

Thanks for your update.

 

We are happy to hear that the issue has been resolved.

Please let us know if you require any further assistance on this.

 

Regards,

Amsath Ali. M


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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;