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

EnableCentralPort=false when drap&drop from palettegroupbar

Thread ID:

Created:

Updated:

Platform:

Replies:

105786 Nov 19,2012 06:26 AM Nov 26,2012 07:40 AM Windows Forms 3
loading
Tags: Diagram
Blanca Calderon
Asked On November 19, 2012 06:26 AM

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 02:36 AM

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 05:41 AM

Thank you!!


Amsath Ali M [Syncfusion]
Replied On November 26, 2012 07:40 AM

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.

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

;