You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/dockmanager/events.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ This article explains the events available in the Telerik DockManager for Blazor
15
15
*[OnDock](#ondock)
16
16
*[OnUndock](#ondock)
17
17
*[VisibleChanged](#visiblechanged)
18
+
*[UnpinnedSizeChanged](#unpinnedsizechanged)
18
19
*[SizeChanged](#sizechanged)
19
20
*[OnPaneResize](#onpaneresize)
20
21
*[State Events](#state-events)
@@ -49,6 +50,10 @@ The event handler receives as an argument an `DockManagerUndockEventArgs` object
49
50
50
51
The `VisibleChanged` event is fired when the user tries to hide a given pane. You can effectively cancel the event by not propagating the new visibility state to the variable the `Visible` property is bound to. This is the way to cancel the event and keep the pane visible.
51
52
53
+
## UnpinnedSizeChanged
54
+
55
+
The `UnpinnedSizeChanged` event is triggered when the `UnpinnedSize` parameter of the corresponding pane is changed.
56
+
52
57
## SizeChanged
53
58
54
59
The `SizeChanged` event is triggered when the `Size` parameter of the corresponding pane is changed.
@@ -119,9 +124,13 @@ The event handler receives as an argument an `DockManagerUnpinEventArgs` object
119
124
<DockManagerContentPane HeaderText="Pane 1"
120
125
Id="Pane1"
121
126
Size="50%"
127
+
UnpinnedSize="@Pane1UnpinnedSize"
128
+
UnpinnedSizeChanged="@Pane1UnpinnedSizeChanged"
122
129
Closeable="false">
123
130
<Content>
124
131
Pane 1. Undocking is allowed. Docking over it is cancelled.
132
+
<code>UnpinnedSizeChanged</code> is handled.
133
+
Current <code>UnpinnedSize</code>: <strong>@Pane1UnpinnedSize</strong>
125
134
</Content>
126
135
</DockManagerContentPane>
127
136
@@ -195,8 +204,9 @@ The event handler receives as an argument an `DockManagerUnpinEventArgs` object
0 commit comments