Class
DockManagerContentPane

Represents a content pane in the DockManager.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class DockManagerContentPane : DockManagerPaneBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentDockManagerPaneBaseDockManagerContentPane

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

DockManagerContentPane()

Declaration

cs-api-definition
public DockManagerContentPane()

Properties

AllowFloat

Controls whether the pane can be undocked from its container to create a floating window. When false, disables drag-to-float and undock operations. Default is true.

Declaration

cs-api-definition
[Parameter]
public bool AllowFloat { get; set; }

Property Value

bool

Closeable

Determines whether users can close the pane using the close button in the header. When false, removes the close button and prevents programmatic closing. Default is true.

Declaration

cs-api-definition
[Parameter]
public bool Closeable { get; set; }

Property Value

bool

Content

Defines the main content rendered within the pane body. Children: allows arbitrary content.

Declaration

cs-api-definition
[Parameter]
public RenderFragment Content { get; set; }

Property Value

RenderFragment

HeaderTemplate

Specifies custom content for the pane header, overriding the default text display. When set, replaces HeaderText in the header area. Use for custom styling or interactive header elements. Children: allows arbitrary content.

Declaration

cs-api-definition
[Parameter]
public RenderFragment HeaderTemplate { get; set; }

Property Value

RenderFragment

HeaderText

Defines the text displayed in the pane header and tab. Used as the pane title in tab groups and the header when HeaderTemplate is not specified.

Declaration

cs-api-definition
[Parameter]
public string HeaderText { get; set; }

Property Value

string

Maximizable

Determines whether floating panes can be maximized to fill the viewport. Only applies when the pane is in a floating window. See also AllowFloat. Default is true.

Declaration

cs-api-definition
[Parameter]
public bool Maximizable { get; set; }

Property Value

bool

Unpinnable

Controls whether the pane can be unpinned to the DockManager sidebar for space-saving access. When false, removes the unpin button and prevents unpinning operations. Default is true.

Declaration

cs-api-definition
[Parameter]
public bool Unpinnable { get; set; }

Property Value

bool

Unpinned

Indicates whether the pane is currently unpinned and displayed in the DockManager sidebar. Unpinned panes appear as tabs on the sidebar and show content on hover or click. Default is false.

Declaration

cs-api-definition
[Parameter]
public bool Unpinned { get; set; }

Property Value

bool

UnpinnedChanged

Fires when the pane's unpinned state changes due to user interaction or programmatic updates. Provides the new unpinned state as a boolean argument. Use for synchronizing external state or triggering custom logic.

Declaration

cs-api-definition
[Parameter]
public EventCallback<bool> UnpinnedChanged { get; set; }

Property Value

EventCallback<bool>

UnpinnedSize

Defines the width of the sidebar container when the pane is unpinned. Accepts CSS values like "200px", "15%", or "10em". Determines the popup width when accessing unpinned content.

Declaration

cs-api-definition
[Parameter]
public string UnpinnedSize { get; set; }

Property Value

string

UnpinnedSizeChanged

Fires when the unpinned pane container size changes due to user resizing or programmatic updates. Provides the new size as a CSS string value. Use for persisting user preferences or updating related components.

Declaration

cs-api-definition
[Parameter]
public EventCallback<string> UnpinnedSizeChanged { get; set; }

Property Value

EventCallback<string>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DockManagerPaneBase.OnInitialized()