Skip to content

Commit 43cc722

Browse files
chore(DockManager): update state documenation (#3158)
* chore(DockManager): update state documenation * Update components/dockmanager/state.md Co-authored-by: Yordan <[email protected]> --------- Co-authored-by: Yordan <[email protected]>
1 parent 0efb8bb commit 43cc722

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/dockmanager/state.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ If you want to make changes to the current DockManager state:
5959

6060
> Do not use `GetState()` in the [`OnStateInit`](#onstateinit) or [`OnStateChanged`](#onstatechanged) events. Do not use `SetState()` in `OnStateInit`. Instead, get or set the `DockManagerState` property of the event argument.
6161
62-
>tip To reset the DockManager state to its initial markup configuration, call `SetState(null)`.
63-
>
64-
> To reset the DockManager state to a completely new configuration, create a `new DockManagerState()` and apply the settings there. Then pass the state object to `SetState()`.
62+
>tip To reset the DockManager state to its initial markup configuration, use the `GetState()` and `SetState()` methods. The [Reset DockManager State on Button Click in Blazor](slug:dockmanager-kb-reset-state) KB article demonstrates this approach.
6563
6664
## Example
6765

@@ -219,4 +217,5 @@ The example below shows how to restore the previous state of the DockManager on
219217

220218
* [Live Demo: DockManager](https://demos.telerik.com/blazor-ui/dockmanager/overview)
221219
* [DockManagerState API reference](slug:Telerik.Blazor.Components.TelerikDockManager)
222-
* [Blazor DockManager](slug:dockmanager-overview)
220+
* [Blazor DockManager](slug:dockmanager-overview)
221+
* [Reset DockManager State on Button Click](slug:dockmanager-kb-reset-state)

0 commit comments

Comments
 (0)