

public sealed class DockPaneManager
Public NotInheritable Class DockPaneManager
// in order to find a dockpane you need to know it's DAML id var pane = FrameworkApplication.DockPaneManager.Find("esri_core_ProjectDockPane");
// in order to find a dockpane you need to know it's DAML id var pane = FrameworkApplication.DockPaneManager.Find("esri_core_ProjectDockPane"); // determine visibility bool visible = pane.IsVisible; // activate it pane.Activate(); // determine dockpane state DockPaneState state = pane.DockState; // pin it pane.Pin(); // hide it pane.Hide();
// in order to find a dockpane you need to know it's DAML id var pane = FrameworkApplication.DockPaneManager.Find("esri_core_contentsDockPane"); // get the undo stack OperationManager manager = pane.OperationManager; if (manager != null) { // undo an operation if (manager.CanUndo) await manager.UndoAsync(); // redo an operation if (manager.CanRedo) await manager.RedoAsync(); // clear the undo and redo stack of operations of a particular category manager.ClearUndoCategory("Some category"); manager.ClearRedoCategory("Some category"); }
System.Object
ArcGIS.Desktop.Framework.DockPaneManager
Target Platforms: Windows 11, Windows 10