Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions components/dockmanager/state.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ If you want to make changes to the current DockManager state:

> 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.

>tip To reset the DockManager state to its initial markup configuration, call `SetState(null)`.
>
> 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()`.
>tip To reset the DockManager state to its initial markup configuration, use the `GetState()` and `SetState()` methods. An example of such approach can be seen in the following KB article: [Reset DockManager State on Button Click in Blazor](slug:dockmanager-kb-reset-state)

## Example

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

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