I am having trouble removing the Rounded edge of my form which has a RibbonBar. How do I remove the rounded edge? You can see this picture of my current form in TelerikMetroTheme with rounded edge.
My project is here in case needed for reference. Is there a quick way to do this?
1 Answer, 1 is accepted
0
Accepted
Nikolay
Telerik team
answered on 19 Nov 2012, 03:57 PM
Hi Bangon,
The easiest and quickest way to remove the rounding of the edges is to set the Shape property of the RootElement of the form to a RoundRectShape with Radius equal to 0. Here is an example which demonstrates the approach:
public partial class RibbonForm : Telerik.WinControls.UI.RadRibbonForm
{
public RibbonForm()
{
InitializeComponent();
this.RootElement.Shape = new Telerik.WinControls.RoundRectShape(0);
}
}
We will consider removing the rounding by default for the Metro themes in a future release.
I hope this helps.
Greetings,
Nikolay
the Telerik team