New to Telerik UI for BlazorStart a free 30-day trial

Represents a content pane in the DockManager.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class DockManagerContentPane : DockManagerPaneBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentDockManagerPaneBaseDockManagerContentPane

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members DockManagerPaneBase.Dispose()DockManagerPaneBase.DockableDockManagerPaneBase.IdDockManagerPaneBase.SizeDockManagerPaneBase.SizeChangedDockManagerPaneBase.VisibleDockManagerPaneBase.VisibleChangedBaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)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.InvokeVoidAsyncWithoutAwait(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

C#
public DockManagerContentPane()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnInitialized()

Overrides: DockManagerPaneBase.OnInitialized()

Properties

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.

C#
[Parameter]
public bool AllowFloat { get; set; }

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

C#
[Parameter]
public bool Closeable { get; set; }

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

C#
[Parameter]
public RenderFragment Content { get; set; }

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.

C#
[Parameter]
public RenderFragment HeaderTemplate { get; set; }

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.

C#
[Parameter]
public string HeaderText { get; set; }

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.

C#
[Parameter]
public bool Maximizable { get; set; }

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.

C#
[Parameter]
public bool Unpinnable { get; set; }

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.

C#
[Parameter]
public bool Unpinned { get; set; }

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.

C#
[Parameter]
public EventCallback<bool> UnpinnedChanged { get; set; }

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.

C#
[Parameter]
public string UnpinnedSize { get; set; }

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.

C#
[Parameter]
public EventCallback<string> UnpinnedSizeChanged { get; set; }