HorizontalAlignment on header on RadRibbonGroup

3 posts, 0 answers
  1. Inger Marie
    Inger Marie avatar
    86 posts
    Member since:
    Nov 2010

    Posted 21 Feb Link to this post

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

    Thanks

    Inger Marie

  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 24 Feb Link to this post

    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.
  3. Inger Marie
    Inger Marie avatar
    86 posts
    Member since:
    Nov 2010

    Posted 24 Feb in reply to Evgenia Link to this post

    Ok - thanks!
Back to Top