Is it possible to right-justify a ribbon group within the XamWebRibbon (IG 10.1)? If so, can someone post some sample XAML? I would like to have a group containing a "Logoff" button tool that is located to the far right of the ribbon, separated from the other groups.
TIA
I am using Infragistics 2016.1. Has this requirement been added as a feature yet?
I don't think there is any clean way to do this but one option is to put empty groupes between the actual groups on left the the most right group that will contain the Logoff button.
<UserControl.Resources>
<!-- =================================================================== -->
<!-- RibbonGroupControl -->
<Style TargetType="igPrim:RibbonGroupControl" x:Key="rgcStyle">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="igPrim:RibbonGroupControl">
<Grid Width="1300" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="White">
<ig:XamRibbon x:Name="xamRibbon1" >
<ig:XamRibbon.Tabs>
<ig:XamRibbonTabItem Header="Tab1">
<ig:XamRibbonGroup Caption="Group1">
<ig:ButtonTool Caption="Button1"/>
<ig:ButtonTool Caption="Button2"/>
</ig:XamRibbonGroup>
<ig:XamRibbonGroup Style="{StaticResource rgcStyle}"/>
<ig:XamRibbonGroup Caption="Group">
<ig:ButtonTool Caption="Close"
SmallImage="/Images/Close.png"
LargeImage="/Images/Close.png"/>
</ig:XamRibbonTabItem>
</ig:XamRibbon.Tabs>
</ig:XamRibbon>
</Grid>
Hope this helps.