Version

PaneNavigatorButtonDisplayMode Property

Determines when a button that can be used to display the 'PaneNavigator' is displayed within the XamDockManager.
Syntax
'Declaration
 
Public Property PaneNavigatorButtonDisplayMode As PaneNavigatorButtonDisplayMode
public PaneNavigatorButtonDisplayMode PaneNavigatorButtonDisplayMode {get; set;}
Example
This sample shows how to prevent the navigator from being displayed both via the ui and via keyboard.

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

Imports Infragistics.Windows.DockManager
Imports Infragistics.Windows.DockManager.Events

Private Sub XamDockManager_ExecutingCommand(ByVal sender As Object, ByVal e As ExecutingCommandEventArgs)
    If e.Command Is DockManagerCommands.ShowPaneNavigator Then
        ' prevent this command from being processed by the xamdockmanager 
        e.Cancel = True

        ' prevent the event from bubbling up any further 
        e.Handled = True
    End If
End Sub
using Infragistics.Windows.DockManager;
using Infragistics.Windows.DockManager.Events;

private void XamDockManager_ExecutingCommand(object sender, ExecutingCommandEventArgs e)
{
	if (e.Command == DockManagerCommands.ShowPaneNavigator)
	{
		// prevent this command from being processed by the xamdockmanager
		e.Cancel = true;

		// prevent the event from bubbling up any further
		e.Handled = true;
	}
}
<igDock:XamDockManager 
    
PaneNavigatorButtonDisplayMode="Never"
    
ExecutingCommand="XamDockManager_ExecutingCommand">
</igDock:XamDockManager>
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