Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenPanel

    RadzenPanel component.

    Inheritance
    System.Object
    RadzenComponent
    RadzenComponentWithChildren
    RadzenPanel
    Implements
    IDisposable
    Inherited Members
    RadzenComponentWithChildren.ChildContent
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.Reference
    RadzenComponent.OnAfterRenderAsync(Boolean)
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Dispose()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenPanel : RadzenComponentWithChildren, IDisposable
    Examples
    <RadzenPanel AllowCollapse="true"">
        <HeaderTemplate>
            Header
        </HeaderTemplate>
        <ChildContent>
            Content
        </ChildContent>
        <SummaryTemplate>
            Summary
        </SummaryTemplate>
    </RadzenPanel>

    Properties

    AllowCollapse

    Gets or sets a value indicating whether collapsing is allowed. Set to false by default.

    Declaration
    public bool AllowCollapse { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if collapsing is allowed; otherwise, false.

    Collapse

    Gets or sets the collapse callback.

    Declaration
    public EventCallback Collapse { get; set; }
    Property Value
    Type Description
    EventCallback

    The collapse callback.

    CollapseAriaLabel

    Gets or sets the aria-label attribute of the collapse button.

    Declaration
    public string CollapseAriaLabel { get; set; }
    Property Value
    Type Description
    System.String

    The aria-label attribute value of the collapse button.

    Collapsed

    Gets or sets a value indicating whether this RadzenPanel is collapsed.

    Declaration
    public bool Collapsed { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if collapsed; otherwise, false.

    CollapseTitle

    Gets or sets the title attribute of the collapse button.

    Declaration
    public string CollapseTitle { get; set; }
    Property Value
    Type Description
    System.String

    The title attribute value of the collapse button.

    Expand

    Gets or sets the expand callback.

    Declaration
    public EventCallback Expand { get; set; }
    Property Value
    Type Description
    EventCallback

    The expand callback.

    ExpandAriaLabel

    Gets or sets the aria-label attribute of the expand button.

    Declaration
    public string ExpandAriaLabel { get; set; }
    Property Value
    Type Description
    System.String

    The aria-label attribute value of the expand button.

    ExpandTitle

    Gets or sets the title attribute of the expand button.

    Declaration
    public string ExpandTitle { get; set; }
    Property Value
    Type Description
    System.String

    The title attribute value of the expand button.

    FooterTemplate

    Gets or sets the footer template.

    Declaration
    public RenderFragment FooterTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment

    The footer template.

    HeaderTemplate

    Gets or sets the header template.

    Declaration
    public RenderFragment HeaderTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment

    The header template.

    Icon

    Gets or sets the icon.

    Declaration
    public string Icon { get; set; }
    Property Value
    Type Description
    System.String

    The icon.

    IconColor

    Gets or sets the icon color.

    Declaration
    public string IconColor { get; set; }
    Property Value
    Type Description
    System.String

    The icon color.

    SummaryTemplate

    Gets or sets the summary template.

    Declaration
    public RenderFragment SummaryTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment

    The summary template.

    Text

    Gets or sets the text.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    The text.

    Methods

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnInitialized()

    Called by the Blazor runtime.

    Declaration
    protected override void OnInitialized()
    Overrides
    RadzenComponent.OnInitialized()

    SetParametersAsync(ParameterView)

    Called by the Blazor runtime when parameters are set.

    Declaration
    public override async Task SetParametersAsync(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters

    The parameters.

    Returns
    Type Description
    Task
    Overrides
    RadzenComponent.SetParametersAsync(ParameterView)

    Implements

    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT