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>.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.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.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

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

Declaration
public RadzenChipList<TValue>()

Properties

AllowDeletelink

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

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

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

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

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

Gets or sets declarative chip items.

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

Multiplelink

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

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

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

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

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

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

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

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

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

Gets or sets the wrapping behavior.

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

Methods

AddItemlink

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

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

GetComponentCssClasslink

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

OnParametersSetlink

Declaration
protected override void OnParametersSet()

Refreshlink

Refreshes this instance.

Declaration
public void Refresh()

RemoveItemlink

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 🗙