Skip to content

Commit 5007bf9

Browse files
chore(DockManager): apply suggestions as per comments
1 parent f986048 commit 5007bf9

File tree

6 files changed

+227
-422
lines changed

6 files changed

+227
-422
lines changed

components/dockmanager/dock-types.md

Lines changed: 0 additions & 145 deletions
This file was deleted.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
title: Docking Types
3+
page_title: DockManager - Docking Types
4+
description: Docking Types in the DockManager for Blazor.
5+
slug: dockmanager-dock-types
6+
tags: telerik, blazor, dockmanager, docking
7+
published: true
8+
position: 10
9+
---
10+
11+
# Docking Panes
12+
13+
The Blazor DockManager component exposes the ability to dock globally or within other panes.
14+
15+
## Docking Types
16+
17+
### Global Docking
18+
19+
When a user drags a pane, a global docking navigator always appears. This allows the user to dock the pane to one of the component's edges, making it a root pane.
20+
21+
### Inner Docking
22+
23+
When a user drags a pane and hovers over another pane, a dock navigator for that pane appears. The user can then choose to:
24+
25+
* Drop the pane on any of the parent pane’s outer edges, splitting it.
26+
* Drop it in the center of the navigator to add it as a tab within the parent pane.
27+
28+
## Disable Docking over Individual Panes
29+
30+
To disable docking over a specific pane, set its `Dockable` parameter to `false`.
31+
32+
>caption DockManager with disabled docking option over some panes.
33+
34+
`````RAZOR
35+
<TelerikDockManager Height="80vh">
36+
<DockManagerPanes>
37+
38+
<DockManagerSplitPane>
39+
<Panes>
40+
41+
<DockManagerContentPane HeaderText="Pane 1" Dockable="@Pane1Dockable">
42+
<Content>
43+
<TelerikToggleButton @bind-Selected="@Pane1Dockable">Enable Docking Over Pane 1</TelerikToggleButton>
44+
</Content>
45+
</DockManagerContentPane>
46+
47+
<DockManagerContentPane HeaderText="Pane 2" Dockable="Pane2Dockable">
48+
<Content>
49+
<TelerikToggleButton @bind-Selected="@Pane2Dockable">Enable Docking Over Pane 2</TelerikToggleButton>
50+
</Content>
51+
</DockManagerContentPane>
52+
53+
</Panes>
54+
</DockManagerSplitPane>
55+
</DockManagerPanes>
56+
57+
<DockManagerFloatingPanes>
58+
<DockManagerSplitPane>
59+
<Panes>
60+
61+
<DockManagerContentPane HeaderText="Floating Pane">
62+
<Content>
63+
Floating Pane Content
64+
</Content>
65+
</DockManagerContentPane>
66+
67+
</Panes>
68+
</DockManagerSplitPane>
69+
</DockManagerFloatingPanes>
70+
</TelerikDockManager>
71+
72+
@code {
73+
private bool Pane1Dockable { get; set; } = true;
74+
private bool Pane2Dockable { get; set; } = true;
75+
}
76+
`````

0 commit comments

Comments
 (0)