DockId
Specifies id of dock that ToolsPane component can dock to.
razor
[Parameter] public string? DockId { get; set; }
Example
When
ToolsPanel is a child of Dock, it will upon initialisation receive (CascadingParameter) DockId.
razor
<Dock DockId="header-dock" Orientation="Orientation.Horizontal">
<ToolsPanel Title="Tools" @bind-DockId="_dockId">
</ToolsPanel>
</Dock>
@code {
string? _dockId; // Points (bind) to current dock
}