Intersoft ClientUI Documentation
ResizeOrder Property



Gets or sets a value that determines the order of the groups when resizing is performed due to insufficient space.
Syntax
<TypeConverterAttribute("†.†, Intersoft.Client.UI.Aqua.UXRibbon, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")>
<CategoryAttribute("Common Properties")>
Public Property ResizeOrder As ObservableCollection(Of String)
Dim instance As UXRibbonTab
Dim value As ObservableCollection(Of String)
 
instance.ResizeOrder = value
 
value = instance.ResizeOrder
[TypeConverterAttribute("†.†, Intersoft.Client.UI.Aqua.UXRibbon, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
[CategoryAttribute("Common Properties")]
public ObservableCollection<string> ResizeOrder {get; set;}
[TypeConverterAttribute("†.†, Intersoft.Client.UI.Aqua.UXRibbon, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
[CategoryAttribute("Common Properties")]
public:
property ObservableCollection<String^>^ ResizeOrder {
   ObservableCollection<String^>^ get();
   void set (    ObservableCollection<String^>^ value);
}
Remarks

By default UXRibbonBar will resize the groups from last to first order if the ResizeOrder property is not set. The ResizeOrder property allows you to choose which group you want to resize first according to the resize order. You can also set the resize order in either unpatterned or patterned order. When it reaches the end of the order, it will cycle back to the first order.

The following code shows how to specify ResizeOrder in unpatterned/exact order.

XAML
Copy Code
<Intersoft:UXRibbonTab Header="Home" 
    ResizeOrder="DeleteGroup,RespondGroup,RespondGroup,NewGroup,DeleteGroup,RespondGroup">
    <Intersoft:UXRibbonTabGroup Name="NewGroup" MaximumSize="Small" Header="New">
        <Intersoft:UXRibbonButton Content="New E-mail" MinimumSize="Large" 
            LargeIcon="/assets/icons/new_email.png" 
            Icon="/assets/icons/new_email.png" />
        <Intersoft:UXRibbonButton Content="New Items" MinimumSize="Large" 
            LargeIcon="/assets/icons/new_items.png" 
            Icon="/assets/icons/new_items.png">
        </Intersoft:UXRibbonButton>
    </Intersoft:UXRibbonTabGroup>
    <Intersoft:UXRibbonTabGroup Name="DeleteGroup" MaximumSize="Medium" Header="Delete">
        <Intersoft:UXRibbonButton Content="Ignore" MaximumSize="Medium" 
            Icon="/assets/icons/ignore.png" />
        <Intersoft:UXRibbonButton Content="Clean Up" MaximumSize="Medium" 
            Icon="/assets/icons/clean_up.png" />
        <Intersoft:UXRibbonButton Content="Junk" MaximumSize="Medium" 
            Icon="/assets/icons/junk.png" />
        <Intersoft:UXRibbonButton Content="Delete" MinimumSize="Large" 
            LargeIcon="/assets/icons/delete.png" />
    </Intersoft:UXRibbonTabGroup>
    <Intersoft:UXRibbonTabGroup Name="RespondGroup" Header="Respond">
        <Intersoft:UXRibbonButton Content="Reply" MinimumSize="Medium" 
            LargeIcon="/assets/icons/reply.png" 
            Icon="/assets/icons/reply.png" />
        <Intersoft:UXRibbonButton Content="Reply All" MinimumSize="Medium" 
            LargeIcon="/assets/icons/reply_all.png" 
            Icon="/assets/icons/reply_all.png" />
        <Intersoft:UXRibbonButton Content="Forward" MinimumSize="Medium" 
            LargeIcon="/assets/icons/forward.png" 
            Icon="/assets/icons/forward.png" />
        <Intersoft:UXRibbonButton Content="Meeting" MaximumSize="Medium" 
            Icon="/assets/icons/meeting2.png" />
        <Intersoft:UXRibbonDropDownButton Content="IM" MaximumSize="Medium" 
            Icon="/assets/icons/IM.png" />
        <Intersoft:UXRibbonDropDownButton Content="More" MaximumSize="Medium" 
            Icon="/assets/icons/more.png" />
    </Intersoft:UXRibbonTabGroup>
</Intersoft:UXRibbonTab>

The result looks like the following figure.

Default
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6

To learn more about ResizeOrder, see Customizing Fluent Resizing Behaviors in UXRibbonBar.

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

UXRibbonTab Class
UXRibbonTab Members

Send Feedback