Intersoft ClientUI Documentation
UXRibbonTabOrderedGroup Class
Members 



Represents a collection of group that can be ordered.
Object Model
UXRibbonTabOrderedGroup ClassISFramework ClassStyleSelector ClassDataTemplateSelector ClassISelection InterfaceUXRibbonBar Class
Syntax
<DescriptionAttribute("Represents a collection of group that can be ordered.")>
Public Class UXRibbonTabOrderedGroup 
   Inherits UXRibbonTabGroupBase
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIRibbonKeyTipAction 
Dim instance As UXRibbonTabOrderedGroup
[DescriptionAttribute("Represents a collection of group that can be ordered.")]
public class UXRibbonTabOrderedGroup : UXRibbonTabGroupBase, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIRibbonKeyTipAction  
[DescriptionAttribute("Represents a collection of group that can be ordered.")]
public ref class UXRibbonTabOrderedGroup : public UXRibbonTabGroupBase, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIRibbonKeyTipAction  
Remarks
UXRibbonTab also supports a specialized tab group with patterned ordering mechanism called UXRibbonTabOrderedGroup. By default, it arranges the commands in two rows. You can determine whether a command should be placed in the first row or second row by specifying the IsAlternateRow attached property.

The following code shows how to configure UXRibbonTabOrderedGroup.

XAML
Copy Code
<Intersoft:UXRibbonTabOrderedGroup x:Name="desktopgroup2" Header="Font" 
    Icon="/assets/icons/font.png">
    <Intersoft:UXRibbonComboBox Width="105" SelectedIndex="0" />
    <Intersoft:UXRibbonComboBox Size="Small" Width="40" SelectedIndex="0" />
    <Intersoft:UXRibbonButton Icon="/assets/icons/font_increasesize.png" />
    <Intersoft:UXRibbonButton Icon="/assets/icons/font_decreasesize.png" />
    <Intersoft:UXRibbonSeparator Height="24" Margin="2,0" Intersoft:UXRibbonOrderedPanel.IsMovable="True" />
    <Intersoft:UXRibbonDropDownButton Icon="/assets/icons/change_case.png" 
                                      Intersoft:UXRibbonOrderedPanel.IsMovable="True" />
    <Intersoft:UXRibbonSeparator Height="24" Margin="2,0" Intersoft:UXRibbonOrderedPanel.IsMovable="True" />
    <Intersoft:UXRibbonButton Icon="/assets/icons/clear_formatting.png" 
                              Intersoft:UXRibbonOrderedPanel.IsMovable="True" />
    <Intersoft:UXRibbonToggleButton Icon="/assets/icons/bold.png" 
                                    Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" Command="local:EditingCommands.Bold"/>
    <Intersoft:UXRibbonToggleButton Icon="/assets/icons/italic.png" 
                                    Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" Command="local:EditingCommands.Italic"/>
    <Intersoft:UXRibbonSplitButton Icon="/assets/icons/underline.png" 
                                   Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" IsToggleButton="True" />
    <Intersoft:UXRibbonButton Icon="/assets/icons/strikethrough.png" 
                              Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" />
    <Intersoft:UXRibbonButton Icon="/assets/icons/subscript.png" 
                              Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" />
    <Intersoft:UXRibbonButton Icon="/assets/icons/superscript.png" 
                              Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" />
    <Intersoft:UXRibbonSeparator Height="24" Margin="2,0" 
                                 Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" 
                                 Intersoft:UXRibbonOrderedPanel.IsMovable="True"/>
    <Intersoft:UXRibbonDropDownButton Icon="/assets/icons/texteffects.png" 
                                      Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" 
                                      Intersoft:UXRibbonOrderedPanel.IsMovable="True" />
    <Intersoft:UXRibbonSplitButton Icon="/highlight.png"
                                   Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" 
                                   Intersoft:UXRibbonOrderedPanel.IsMovable="True" />
    <Intersoft:UXRibbonSplitButton Icon="/font_color.png" 
                                   Intersoft:UXRibbonOrderedPanel.IsAlternateRow="True" 
                                   Intersoft:UXRibbonOrderedPanel.IsMovable="True" />
</Intersoft:UXRibbonTabOrderedGroup>

The result looks like the following figure.

When the group is resized due to insufficient space, it will find all commands which IsMoveable attached property is set to true, and move them to the third row. It will also remove the commands with IsRemoveable attached property from the group.

To learn more about group resizing behaviors, see Customizing Fluent Resizing Behaviors in UXRibbonBar.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.HeaderedItemsControl
                     Intersoft.Client.Framework.ISHeaderedItemsControl
                        Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonTabGroupBase
                           Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonTabOrderedGroup

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXRibbonTabOrderedGroup Members
Intersoft.Client.UI.Aqua.UXRibbon Namespace

Send Feedback