Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to align a RibbonPageGroup to the right side of a page?

$
0
0

This example demonstrates how to create a custom RibbonControl that displays a group with the "AlignRight" tag assigned at the right side.

Updated:

The example was slightly modified to dispose of a gap which occurs after merging (see  Support correct RibbonPageGroups alignment with no gap on ribbon merging).
To enable correct operation, a RibbonPanelComplexLayoutCalculator descendant was created, and the UpdatePanelLayout method was overridden in it.

Question Comments

Added By: Andri at: 9/9/2013 2:02:47 PM    

Hi do you have a fix for this if there are more than one group on the right side ?

Added By: Jan Macháček at: 8/29/2014 2:16:41 AM    

thank you so much for this code :)
really helped me a lot


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>