Version

OutlookBar Property (NavigationPaneOptionsControl)

Returns/sets the XamOutlookBar control that the NavigationPaneOptionsControl is presenting options for.
Syntax
'Declaration
 
Public Property OutlookBar As XamOutlookBar
public XamOutlookBar OutlookBar {get; set;}
Example
Private  Sub btnOptions_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    ' WindowOptions is a window with a NavigationPaneOptionsControl inside
    Dim wndOptions As WindowOptions =  New WindowOptions() 
 
    ' NavigationPaneOptionsControl will display the Groups of outlookBar
    wndOptions.navPaneOptions.OutlookBar = Me.outlookBar
 
    wndOptions.Owner = Me
    wndOptions.ShowDialog()
End Sub
private void btnOptions_Click(object sender, RoutedEventArgs e)
{
    // WindowOptions is a window with a NavigationPaneOptionsControl inside
    WindowOptions wndOptions = new WindowOptions(); 

    // NavigationPaneOptionsControl will display the Groups of outlookBar
    wndOptions.navPaneOptions.OutlookBar = this.outlookBar;

    wndOptions.Owner = this;
    wndOptions.ShowDialog();
}
<Window x:Class="XamOutlookBarApp.WindowOptions"
        
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="WindowOptions" Height="300" Width="516" WindowStartupLocation="CenterOwner"
        
>
    
<Grid>
        
<igOutlookBar:NavigationPaneOptionsControl  x:Name="navPaneOptions" Grid.Row="1"/>
    
</Grid>
</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