RadzenAccordionItem Class

Class RadzenAccordionItem.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenAccordionItem

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenAccordionItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender

Constructors

RadzenAccordionItemlink

Class RadzenAccordionItem.

Declaration
public RadzenAccordionItem()

Properties

Accordionlink

Gets or sets the accordion.

Declaration
public RadzenAccordion Accordion { get; set; }
Property Value
Type Description
RadzenAccordionGets or sets the accordion.

ChildContentlink

Gets or sets the child content.

Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the child content.

CollapseAriaLabellink

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

Declaration
public string CollapseAriaLabel { get; set; }
Property Value
Type Description
stringGets or sets the aria-label attribute of the collapse button.

CollapseTitlelink

Gets or sets the title attribute of the collapse button.

Declaration
public string CollapseTitle { get; set; }
Property Value
Type Description
stringGets or sets the title attribute of the collapse button.

Disabledlink

Gets or sets a value indicating whether this RadzenAccordionItem is disabled.

Declaration
public bool Disabled { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenAccordionItem is disabled.

ExpandAriaLabellink

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

Declaration
public string ExpandAriaLabel { get; set; }
Property Value
Type Description
stringGets or sets the aria-label attribute of the expand button.

ExpandTitlelink

Gets or sets the title attribute of the expand button.

Declaration
public string ExpandTitle { get; set; }
Property Value
Type Description
stringGets or sets the title attribute of the expand button.

Iconlink

Gets or sets the icon.

Declaration
public string Icon { get; set; }
Property Value
Type Description
stringGets or sets the icon.

IconColorlink

Gets or sets the icon color.

Declaration
public string IconColor { get; set; }
Property Value
Type Description
stringGets or sets the icon color.

Selectedlink

Gets or sets a value indicating whether this RadzenAccordionItem is selected.

Declaration
public bool Selected { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenAccordionItem is selected.

SelectedChangedlink

Gets or sets the value changed.

Declaration
public EventCallback<bool> SelectedChanged { get; set; }
Property Value
Type Description
EventCallback<bool>Gets or sets the value changed.

Templatelink

Gets or sets the header content.

Declaration
public RenderFragment Template { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the header content.

Textlink

Gets or sets the text.

Declaration
public string Text { get; set; }
Property Value
Type Description
stringGets or sets the text.

Visiblelink

Gets or sets a value indicating whether this RadzenAccordionItem is visible.

Declaration
public bool Visible { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenAccordionItem is visible.

Methods

Disposelink

Disposes this instance.

Declaration
public override void Dispose()

GetComponentCssClasslink

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

SetParametersAsynclink

Set parameters as an asynchronous operation.

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters The parameters.
Returns
Type Description
TaskA Task representing the asynchronous operation.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙