'Declaration 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(); }
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