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.
Up arrow icon