Version

GroupMoveDown Method

Moves specified OutlookBarGroup backward into the Groups collection.
Syntax
'Declaration
 
Public Sub GroupMoveDown( _
   ByVal group As OutlookBarGroup _
) 
public void GroupMoveDown( 
   OutlookBarGroup group
)

Parameters

group
An OutlookBarGroup which changes its position
Example
Represents the use of the XamOutlookBar Methods - GroupMoveDown or GroupMoveUp

GroupMoveDownOrUp
using Infragistics.Windows.OutlookBar;

private void ButtonDown_Click(object sender, RoutedEventArgs e)
{
    OutlookBarGroup group = xamOutlookBar1.SelectedGroup;
    if (group == null)
        return;
    xamOutlookBar1.GroupMoveDown(group);
}

private void ButtonUp_Click(object sender, RoutedEventArgs e)
{
    OutlookBarGroup group = xamOutlookBar1.SelectedGroup;
    if (group == null)
        return;
    xamOutlookBar1.GroupMoveUp(group);
}
GroupMoveDownOrUp
Imports Infragistics.Windows.OutlookBar

Private  Sub ButtonDown_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    Dim group As OutlookBarGroup =  xamOutlookBar1.SelectedGroup 
    If group Is Nothing Then
        Return
    End If
    xamOutlookBar1.GroupMoveDown(group)
End Sub
 
Private  Sub ButtonUp_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    Dim group As OutlookBarGroup =  xamOutlookBar1.SelectedGroup 
    If group Is Nothing Then
        Return
    End If
    xamOutlookBar1.GroupMoveUp(group)
End Sub
<Window x:Class="XamOutlookBarApp.IG_XamOutlookBar_Properties"
    
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
xmlns:igOutlookBar="http://infragistics.com/OutlookBar"
    
Title="IG_XamOutlookBar_Properties" Height="300" Width="300">
    
<StackPanel Orientation="Horizontal">
        
<igOutlookBar:XamOutlookBar Name="xamOutlookBar1" Width="144">
            
<igOutlookBar:OutlookBarGroup Header="Group 1" Content="Group 1"/>
            
<igOutlookBar:OutlookBarGroup Header="Group 2" Content="Group 2"/>
        
</igOutlookBar:XamOutlookBar>
        
<StackPanel>
            
<Button Click="ButtonUp_Click">Move Selected Up</Button>
            
<Button Click="ButtonDown_Click">Move Selected Down</Button>
        
</StackPanel>
    
</StackPanel>
</Window>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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