A Dock Manager component that provides means to manage the layout of your application through panes, allowing your end-users to customize it further by pinning, resizing, moving, maximizing and hiding panes.

Callable

  • Returns ReactNode

Events

onActivePaneChanged: (args: CustomEvent<IgrActivePaneEventArgsDetail>) => void

Type declaration

onFloatingPaneResizeEnd: (args: CustomEvent<IgrFloatingPaneResizeEventArgsDetail>) => void

Type declaration

onFloatingPaneResizeMove: (args: CustomEvent<IgrFloatingPaneResizeMoveEventArgsDetail>) => void

Type declaration

onFloatingPaneResizeStart: (args: CustomEvent<IgrFloatingPaneResizeEventArgsDetail>) => void

Type declaration

onLayoutChange: (args: CustomEvent<any>) => void

Type declaration

onPaneClose: (args: CustomEvent<IgrPaneCloseEventArgsDetail>) => void

Type declaration

onPaneDragEnd: (args: CustomEvent<IgrPaneDragEndEventArgsDetail>) => void

Type declaration

onPaneDragOver: (args: CustomEvent<IgrPaneDragOverEventArgsDetail>) => void

Type declaration

onPaneDragStart: (args: CustomEvent<IgrPaneDragStartEventArgsDetail>) => void

Type declaration

onPaneHeaderConnected: (args: CustomEvent<IgrPaneHeaderConnectionEventArgsDetail>) => void

Type declaration

onPaneHeaderDisconnected: (args: CustomEvent<IgrPaneHeaderConnectionEventArgsDetail>) => void

Type declaration

onPanePinnedToggle: (args: CustomEvent<IgrPanePinnedEventArgsDetail>) => void

Type declaration

onPaneScroll: (args: CustomEvent<IgrPaneScrollEventArgsDetail>) => void

Type declaration

onSplitterResizeEnd: (args: CustomEvent<any>) => void

Type declaration

onSplitterResizeStart: (args: CustomEvent<any>) => void

Type declaration

onTabHeaderConnected: (args: CustomEvent<IgrTabHeaderConnectionEventArgsDetail>) => void

Type declaration

onTabHeaderDisconnected: (args: CustomEvent<IgrTabHeaderConnectionEventArgsDetail>) => void

Type declaration

Methods

  • Parameters

    • type: K
    • listener: (this: HTMLElement, ev: IgcDockManagerEventMap[K]) => any
    • options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • options: boolean | AddEventListenerOptions

    Returns void

  • Performs drop of the draggedPane into the specified dropPosition. Returns true if the pane has been docked otherwise returns false.

    Returns Promise<boolean>

  • Focuses a pane from the layout.

    Parameters

    • contentId: string

    Returns Promise<void>

  • Parameters

    • type: K
    • listener: (this: HTMLElement, ev: IgcDockManagerEventMap[K]) => any
    • options: boolean | EventListenerOptions

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • options: boolean | EventListenerOptions

    Returns void

Properties

activePane: IgrContentPane

Gets/sets the active pane of the Dock Manager.

allowFloatingPanesResize: boolean

Determines whether the end user is allowed to resize floating panes. Defaults to true.

allowInnerDock: boolean

Determines whether the end user is allowed to inner dock panes. Defaults to true.

allowMaximize: boolean

Determines whether the end user is allowed to maximize panes. Defaults to true.

allowSplitterDock: boolean

Determines whether the end user can dock the dragged pane directly in the parent split pane by dragging it over a splitter. If enabled, a docking indicator will be shown over the splitter's drag handler. Defaults to false.

closeBehavior: IgrPaneActionBehavior

Determines whether the selected pane or all panes are closed when clicking the close button of a pane within a dockable TabGroup. Defaults to 'allPanes'.

containedInBoundaries: boolean

Determines whether the floating panes are kept inside the Dock Manager boundaries. Defaults to false.

disableKeyboardNavigation: boolean

Disables the built-in keyboard shortcuts for pane navigation. Defaults to false.

Gets/sets the currently dragged pane.

dropPosition: IgrDockManagerPoint

Gets/sets the current drop position when performing custom drag/drop.

Gets/sets the layout configuration of the Dock Manager.

Gets/sets the maximized pane.

proximityDock: boolean

Determines whether the end user can dock the dragged pane by dragging it close to the target pane edges. If enabled, docking indicators are not visible. Defaults to false.

Gets/sets the resource strings.

showHeaderIconOnHover: "none" | "closeOnly" | "moreOptionsOnly" | "all"

Determines which tab header icons should show when hovering over the tab with the mouse. Defaults to none.

showPaneHeaders: "always" | "onHoverOnly"

Determines whether pane headers are only shown on hover or always visible. Defaults to 'always'.

unpinBehavior: IgrPaneActionBehavior

Determines whether the selected pane or all panes are unpinned when clicking the unpin button of a pane within a dockable TabGroup. Defaults to 'allPanes'.