This is a migrated thread and some comments may be shown as answers.

HorizontalAlignment on header on RadRibbonGroup

2 Answers 50 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Inger Marie
Top achievements
Rank 1
Inger Marie asked on 21 Feb 2017, 12:27 PM

Is there any way to force the radribbongroup into not center the header horizontally (I want strech)?

Thanks

Inger Marie

2 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 24 Feb 2017, 11:08 AM
Hi Inger,

To customize the Header HorizontalAlignmenet of the GroupChrome element you should edit the default GroupChromeStyle and more specifically the GroupChromeTemplate. Search for ContentControl inside it where its Content is TemplateBound to Header property. You'll see that its default HorizontalAlignment property is preset to Center -- change it to Stretch.

You can see where to find a control's style in the Editing Control Templates help article.

Regards,
Evgenia
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Inger Marie
Top achievements
Rank 1
answered on 24 Feb 2017, 11:41 AM
Ok - thanks!
Tags
PanelBar
Asked by
Inger Marie
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Inger Marie
Top achievements
Rank 1
Share this question
or