RadzenChipItem Class

Represents a single item inside RadzenChipList<T>.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenChipItem

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenChipItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender

Constructors

RadzenChipItemlink

Represents a single item inside RadzenChipList<T>.

Declaration
public RadzenChipItem()

Properties

ChipListlink

Gets or sets the cascading parent chip list.

Declaration
public IRadzenChipList ChipList { get; set; }
Property Value
Type Description
IRadzenChipListGets or sets the cascading parent chip list.

ChipStylelink

Gets or sets the optional style override.

Declaration
public BadgeStyle? ChipStyle { get; set; }
Property Value
Type Description
BadgeStyle?Gets or sets the optional style override.

Disabledlink

Gets or sets whether the item is disabled.

Declaration
public bool Disabled { get; set; }
Property Value
Type Description
boolGets or sets whether the item is disabled.

Iconlink

Gets or sets the chip icon.

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

Templatelink

Gets or sets the template used for rendering item content.

Declaration
public RenderFragment<RadzenChipItem> Template { get; set; }
Property Value
Type Description
RenderFragment<RadzenChipItem>Gets or sets the template used for rendering item content.

Textlink

Gets or sets the chip text.

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

Valuelink

Gets or sets the chip value.

Declaration
public object Value { get; set; }
Property Value
Type Description
objectGets or sets the chip value.

Variantlink

Gets or sets the optional variant override.

Declaration
public Variant? Variant { get; set; }
Property Value
Type Description
Variant?Gets or sets the optional variant override.

Methods

Disposelink

Disposes this instance.

Declaration
public override void Dispose()

SetParametersAsynclink

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