Version

XamOutlookBar Class

The XamOutlookBar is a WPF Component that provides the UI and functionality of the navigation bar/strip in the applications /Like MS Outlook 2003 or later versions/
Syntax
'Declaration
 
Public Class XamOutlookBar 
   Inherits System.Windows.Controls.Control
public class XamOutlookBar : System.Windows.Controls.Control 
Remarks
XamOutlookBar is a WPF version of the existing Infragistics WinExplorerBar element. The WPF version of the XamOutlookBar supports only the OutlookNavigationPane style. It is not backward-compatible with the WinExplorerBar control.
Example
Represents the creation of XamOutlookBar instance by code

Create XamOutlookBar
void CreateXOB()
{
    //create new instance of XamOutlookBar class
    Infragistics.Windows.OutlookBar.XamOutlookBar xamOutlook = new Infragistics.Windows.OutlookBar.XamOutlookBar();
    xamOutlook.SelectedAreaMinHeight = 79;
    xamOutlook.NavigationAreaMaxGroups = 0;
    xamOutlook.MinimizedWidth = 60;
    xamOutlook.Theme = "Office2k7Silver";
    xamOutlook.ToolTip = "XamOutlookBar tooltip";
    xamOutlook.AllowMinimized = true;
    xamOutlook.ShowToolTips = true;
    xamOutlook.ShowGroupHeaderAsToolTip = true;
    xamOutlook.IsMinimized = true;
    xamOutlook.MinimizedStateThreshold = 20; // set minimized threshold to 10 points over MinimizedWidth        
}
<Window x:Class="xobsnippets.Window1"
    
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
Title="Window1" Height="300" Width="300" 
    
xmlns:igOutlookBar="http://infragistics.com/OutlookBar">
    
<Grid>
        
<igOutlookBar:XamOutlookBar x:Name="xamOutlookBar" 
                                    
SelectedAreaMinHeight="70" NavigationAreaMaxGroups="0" 
                                    
Theme="Office2k7Silver" ShowToolTips="True"
                                    
MinimizedWidth="60" MinimizedStateThreshold="10"
                                    
ShowGroupHeaderAsToolTip="True">
            
<igOutlookBar:OutlookBarGroup Header="Group 1">
                
<Grid />
            
</igOutlookBar:OutlookBarGroup>
            
<igOutlookBar:OutlookBarGroup Header="Group 2">
                
<Grid />
            
</igOutlookBar:OutlookBarGroup>
        
</igOutlookBar:XamOutlookBar>
    
</Grid>
</Window>
Create XamOutlookBar
Sub CreateXOB()

   'create new instance of XamOutlookBar class 
    Dim xamOutlook As New Infragistics.Windows.OutlookBar.XamOutlookBar()

    xamOutlook.SelectedAreaMinHeight = 79
    xamOutlook.NavigationAreaMaxGroups = 0
    xamOutlook.MinimizedWidth = 60
    xamOutlook.Theme = "Office2k7Silver"
    xamOutlook.ToolTip = "XamOutlookBar tooltip"
    xamOutlook.AllowMinimized = True
    xamOutlook.ShowToolTips = True
    xamOutlook.ShowGroupHeaderAsToolTip = True
    xamOutlook.IsMinimized = True
    xamOutlook.MinimizedStateThreshold = 20 ' set minimized threshold to 10 points over MinimizedWidth      

End Sub
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