The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi, I am completely unable to manage place for controls that I'm placing inside syncfusion:RibbonBar and syncfusion:ButtonPanel.
Let's say I have a textblock and four buttons inside a syncfusion:ButtonPanel. What to do so that the textblock be on the first line, the first two buttons be on the second line and the other two buttons on the third line inside the ButtonPanel ?
Like this: _____________ | textblock | | B1 B2 | ===> This is my ButtonPanel | B3 B4 | |___________|
Same question for syncfusion:RibbonBar.
It seems to me there is no property anywhere to handle this. Sometimes all the buttons are alined. Sometimes they go on two lines. Sometimes they are out ouf the scope of the ButtonPanel/RibbonBar and the user can't acces them.
CSC. Sudha Syncfusion Team August 21, 2009 10:20 AM UTC
Hi Nazim,
As per the MicrosoftOffice2007 guideline, RibbonItems should get arranged based on available space in RibbonBar. This is indented behavior of RibbonBar layout. However, you could achieve your requirement by setting margin property for ButtonPanel explicitly.
For Instance,
In XAML:
TextBlock
Please let us know if you have any questions.
Thanks for choosing Syncfusion products.
Regards, SudhaC.
TOTobias O''LearySeptember 4, 2009 04:21 AM UTC
Hey SudhaC,
I ran into a similar problem, but came up with a different solution. Would you say the following is appropriate/acceptable? Or would you recommend me switching to the ButtonPanel approach? Don't want to have stuff in there that might break with the next release.
-Tobias
CSC. Sudha Syncfusion Team September 8, 2009 12:25 PM UTC
Hi Tobias,
If you use Grid inside the RibbonBar for arranging the RibbonBar items, it will be constant and it will not re-arrange automatically based on the space availability. Hence I would recommend you to use ButtonPanel. As per the MicrosoftOffice2007 guideline, Ribbonbar items are automatically arranged by two or three rows based on the space available on RibbonBar when we host the items inside the ButtonPanel.
Please let us know if you have any queries.
Thank you for your interest in Syncfusion products.