Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenSidebar

    RadzenSidebar component.

    Inheritance
    System.Object
    RadzenComponent
    RadzenComponentWithChildren
    RadzenSidebar
    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.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 RadzenSidebar : RadzenComponentWithChildren, IDisposable

    Properties

    Expanded

    Gets or sets a value indicating whether this RadzenSidebar is expanded.

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

    true if expanded; otherwise, false.

    ExpandedChanged

    Gets or sets the expanded changed callback.

    Declaration
    public EventCallback<bool> ExpandedChanged { get; set; }
    Property Value
    Type Description
    EventCallback<System.Boolean>

    The expanded changed callback.

    Layout

    The RadzenLayout this component is nested in.

    Declaration
    public RadzenLayout Layout { get; set; }
    Property Value
    Type Description
    RadzenLayout

    Responsive

    Toggles the responsive mode of the component. If set to true (the default) the component will be expanded on larger displays and collapsed on touch devices. Set to false if you want to disable this behavior. Responsive mode is only available when RadzenSidebar is inside RadzenLayout.

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

    Style

    Gets or sets the style.

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

    The style.

    Overrides
    RadzenComponent.Style

    Methods

    GetComponentCssClass()

    Gets the component CSS class.

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

    GetStyle()

    Gets the style.

    Declaration
    protected string GetStyle()
    Returns
    Type Description
    System.String

    System.String.

    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)

    Toggle()

    Toggles this instance expanded state.

    Declaration
    public void Toggle()

    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