Table of Contents

Class RadzenAccordionItem

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

Class RadzenAccordionItem.

public class RadzenAccordionItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
RadzenAccordionItem
Implements
Inherited Members

Constructors

RadzenAccordionItem()

public RadzenAccordionItem()

Properties

Accordion

Gets or sets the accordion.

[CascadingParameter]
public RadzenAccordion Accordion { get; set; }

Property Value

RadzenAccordion

The accordion.

ChildContent

Gets or sets the child content.

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

The child content.

CollapseAriaLabel

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

[Parameter]
public string CollapseAriaLabel { get; set; }

Property Value

string

The aria-label attribute value of the collapse button.

CollapseTitle

Gets or sets the title attribute of the collapse button.

[Parameter]
public string CollapseTitle { get; set; }

Property Value

string

The title attribute value of the collapse button.

ExpandAriaLabel

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

[Parameter]
public string ExpandAriaLabel { get; set; }

Property Value

string

The aria-label attribute value of the expand button.

ExpandTitle

Gets or sets the title attribute of the expand button.

[Parameter]
public string ExpandTitle { get; set; }

Property Value

string

The title attribute value of the expand button.

Icon

Gets or sets the icon.

[Parameter]
public string Icon { get; set; }

Property Value

string

The icon.

IconColor

Gets or sets the icon color.

[Parameter]
public string IconColor { get; set; }

Property Value

string

The icon color.

Selected

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

[Parameter]
public bool Selected { get; set; }

Property Value

bool

true if selected; otherwise, false.

Template

Gets or sets the header content.

[Parameter]
public RenderFragment Template { get; set; }

Property Value

RenderFragment

The header content.

Text

Gets or sets the text.

[Parameter]
public string Text { get; set; }

Property Value

string

The text.

Visible

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

[Parameter]
public override bool Visible { get; set; }

Property Value

bool

true if visible; otherwise, false.

Methods

Dispose()

Disposes this instance.

public override void Dispose()

GetComponentCssClass()

protected override string GetComponentCssClass()

Returns

string

SetParametersAsync(ParameterView)

Set parameters as an asynchronous operation.

public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters ParameterView

The parameters.

Returns

Task

A Task representing the asynchronous operation.