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.

disable grouping

Thread ID:

Created:

Updated:

Platform:

Replies:

89191 Aug 19,2009 12:12 PM Aug 20,2009 06:00 AM Windows Forms 1
loading
Tags: Diagram
Joseph
Asked On August 19, 2009 12:12 PM

Hello,

Is there anyway to disable grouping on some symbol (like line connector) in symbol designer? Now it is automatically grouping even though there is only one line in symbol.


Thanks,

joseph

Gowri Manohari D [Syncfusion]
Replied On August 20, 2009 06:00 AM

Hi Joseph,

Please make the below mentioned code changes in SymbolDesigner source available in your system.

C:\Program Files\Syncfusion\Essential Studio\7.3.0.20\Utilities\Diagram\Symbol Designer\src

In MainForm.cs

Function: PreparePaletteToSave()

In Line 2011

if (nodes.Count > 0)
{
nodeTmp = new Group(nodes);
}
else
{
nodeTmp = null;
}


replace with

if (nodes.Count > 1)
{
nodeTmp = new Group(nodes);
}
else if(nodes.Count > 0)
{
nodeTmp = nodes.First;
}
else
{
nodeTmp = null;
}

The above code will avoid the Single Symbol grouping in Symbol Designer.

Regards,
Gowri





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.

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.

;