Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonTabOrderedGroup Class |
<DescriptionAttribute("Represents a collection of group that can be ordered.")> Public Class UXRibbonTabOrderedGroup Inherits UXRibbonTabGroupBase Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItem, IRibbonKeyTipAction
Dim instance As UXRibbonTabOrderedGroup
[DescriptionAttribute("Represents a collection of group that can be ordered.")] public class UXRibbonTabOrderedGroup : UXRibbonTabGroupBase, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItem, IRibbonKeyTipAction
[DescriptionAttribute("Represents a collection of group that can be ordered.")] public ref class UXRibbonTabOrderedGroup : public UXRibbonTabGroupBase, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItem, IRibbonKeyTipAction
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.
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
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