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. Image for the cookie policy date

disable grouping

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

1 Reply

GM Gowri Manohari D Syncfusion Team August 20, 2009 10:00 AM UTC

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





Loader.
Live Chat Icon For mobile
Up arrow icon