バージョン

OutlookBar プロパティ (NavigationPaneOptionsControl)

NavigationPaneOptionsControl がオプションを提供する XamOutlookBar コントロールを取得または設定します。
シンタックス
'宣言
 
Public Property OutlookBar As XamOutlookBar
public XamOutlookBar OutlookBar {get; set;}
使用例
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>
参照