RadzenChipList<TValue> Class

Displays and manages a collection of chips with optional selection and removal.

Inheritance

Object

ComponentBase

RadzenComponent

FormComponent<TValue>

RadzenChipList<TValue>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IRadzenFormComponent

IRadzenChipList

Inherited Members

FormComponent<TValue>.SetParametersAsync

FormComponent<TValue>.Dispose

FormComponent<TValue>.GetValue

FormComponent<TValue>.NotifyFieldChanged

FormComponent<TValue>.OnContextMenu

FormComponent<TValue>.GetClassList

FormComponent<TValue>.FocusAsync

FormComponent<TValue>.Name

FormComponent<TValue>.TabIndex

FormComponent<TValue>.Placeholder

FormComponent<TValue>.Disabled

FormComponent<TValue>.EditContext

FormComponent<TValue>.Form

FormComponent<TValue>.ValueChanged

FormComponent<TValue>.HasValue

FormComponent<TValue>.IsBound

FormComponent<TValue>.Value

FormComponent<TValue>.Change

FormComponent<TValue>.FieldIdentifier

FormComponent<TValue>.ValueExpression

FormComponent<TValue>.FormFieldContext

FormComponent<TValue>.CurrentPlaceholder

FormComponent<TValue>._value

RadzenComponent.OnMouseEnter

RadzenComponent.OnMouseLeave

RadzenComponent.GetCssClass

RadzenComponent.GetId

RadzenComponent.Debounce

RadzenComponent.Localize

RadzenComponent.OnInitialized

RadzenComponent.OnAfterRenderAsync

RadzenComponent.RaiseContextMenu

RadzenComponent.RaiseMouseEnter

RadzenComponent.AddContextMenu

RadzenComponent.RaiseMouseLeave

RadzenComponent.OnBecameInvisible

RadzenComponent.Attributes

RadzenComponent.Element

RadzenComponent.MouseEnter

RadzenComponent.MouseLeave

RadzenComponent.ContextMenu

RadzenComponent.Culture

RadzenComponent.DefaultCulture

RadzenComponent.UICulture

RadzenComponent.DefaultUICulture

RadzenComponent.Style

RadzenComponent.Visible

RadzenComponent.UniqueID

RadzenComponent.JSRuntime

RadzenComponent.IsJSRuntimeAvailable

RadzenComponent.Reference

RadzenComponent.CurrentStyle

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenChipList<TValue> : FormComponent<TValue>, IComponent, IHandleEvent, IHandleAfterRender, IRadzenFormComponent, IRadzenChipList

Type Parameters

Name Description
TValueThe selected value type. Use IEnumerable for multiple selection mode.

Constructors

RadzenChipList<TValue>Link to this section

Displays and manages a collection of chips with optional selection and removal.

Declaration
public RadzenChipList<TValue>()

Properties

AllowDeleteLink to this section

Gets or sets whether chips can be removed.

Declaration
public bool AllowDelete { get; set; }
Property Value
Type Description
boolGets or sets whether chips can be removed.

ChipRemovedLink to this section

Gets or sets the callback invoked when a chip remove action is requested.

Declaration
public EventCallback<object> ChipRemoved { get; set; }
Property Value
Type Description
EventCallback<object>Gets or sets the callback invoked when a chip remove action is requested.

ChipStyleLink to this section

Gets or sets the default style applied to chips.

Declaration
public BadgeStyle ChipStyle { get; set; }
Property Value
Type Description
BadgeStyleGets or sets the default style applied to chips.

DataLink to this section

Gets or sets the data source used to generate chip items.

Declaration
public Collections.IEnumerable Data { get; set; }
Property Value
Type Description
Collections.IEnumerableGets or sets the data source used to generate chip items.

DisabledPropertyLink to this section

Gets or sets the name of the data property used for item disabled state.

Declaration
public string DisabledProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the data property used for item disabled state.

ItemsLink to this section

Gets or sets declarative chip items.

Declaration
public RenderFragment Items { get; set; }
Property Value
Type Description
RenderFragmentGets or sets declarative chip items.

MultipleLink to this section

Gets or sets whether multiple items can be selected.

Declaration
public bool Multiple { get; set; }
Property Value
Type Description
boolGets or sets whether multiple items can be selected.

OrientationLink to this section

Gets or sets the chip list orientation.

Declaration
public Orientation Orientation { get; set; }
Property Value
Type Description
OrientationGets or sets the chip list orientation.

RemoveChipTitleLink to this section

Gets or sets the close button accessible title.

Declaration
public string RemoveChipTitle { get; set; }
Property Value
Type Description
stringGets or sets the close button accessible title.

ShadeLink to this section

Gets or sets the default shade applied to chips.

Declaration
public Shade Shade { get; set; }
Property Value
Type Description
ShadeGets or sets the default shade applied to chips.

SizeLink to this section

Gets or sets the default chip size.

Declaration
public ChipSize Size { get; set; }
Property Value
Type Description
ChipSizeGets or sets the default chip size.

TemplateLink to this section

Gets or sets a template for custom chip content.

Declaration
public RenderFragment<RadzenChipItem> Template { get; set; }
Property Value
Type Description
RenderFragment<RadzenChipItem>Gets or sets a template for custom chip content.

TextPropertyLink to this section

Gets or sets the name of the data property used as chip text.

Declaration
public string TextProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the data property used as chip text.

ValuePropertyLink to this section

Gets or sets the name of the data property used as chip value.

Declaration
public string ValueProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the data property used as chip value.

VariantLink to this section

Gets or sets the default variant applied to chips.

Declaration
public Variant Variant { get; set; }
Property Value
Type Description
VariantGets or sets the default variant applied to chips.

WrapLink to this section

Gets or sets the wrapping behavior.

Declaration
public FlexWrap Wrap { get; set; }
Property Value
Type Description
FlexWrapGets or sets the wrapping behavior.

Methods

AddItemLink to this section

Adds the specified item to the chip list.

Declaration
public void AddItem(RadzenChipItem item)
Parameters
Type Name Description
RadzenChipItem item The item to add.

BuildRenderTreeLink to this section

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

GetComponentCssClassLink to this section

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

OnParametersSetLink to this section

Declaration
protected override void OnParametersSet()

RefreshLink to this section

Refreshes this instance.

Declaration
public void Refresh()

RemoveItemLink to this section

Removes the specified item from the chip list.

Declaration
public void RemoveItem(RadzenChipItem item)
Parameters
Type Name Description
RadzenChipItem item The item.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙