Articles in this section
Category / Section

How to arrange symbols in two columns in Palette of WinForms Diagram?

2 mins read

In our WinForms Diagram control, you can arrange the Symbols into two columns in the PaletteGroupBar by using the FlowView property of PaletteGroupView. By setting FlowView to true, you can arrange PaletteGroupBar Symbols into two columns. Additionally, you can control the width of the Symbols using the ShowFlowViewItemText and FlowViewItemTextLength properties. The FlowViewItemTextLength property allows you to specify the width of the symbols displayed in the PaletteGroupBar. We have provided the code snippet to achieve this.

Code Snippet:

foreach (GroupBarItem item in paletteGroupBar1.GroupBarItems)
{
    //palette view settings
    if (item.Client is PaletteGroupView)
    {
        PaletteGroupView view = item.Client as PaletteGroupView;
        view.FlowView = true;
        view.ShowFlowViewItemText = true;
        view.FlowViewItemTextLength = (int)DpiAware.LogicalToDeviceUnits(80);
    }
} 

image.png

Conclusion

I hope you enjoyed learning about how to arrange symbols in two columns in Palette of WinForms Diagram.

You can refer to our WinForms Diagram feature tour page to learn about its other groundbreaking feature representations and documentation. You can also explore our WinForms Diagram example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied