Displays and manages a collection of chips with optional selection and removal.
FormComponent<TValue>.SetParametersAsync
FormComponent<TValue>.GetValue
FormComponent<TValue>.OnContextMenu
FormComponent<TValue>.GetClassList
FormComponent<TValue>.FocusAsync
FormComponent<TValue>.TabIndex
FormComponent<TValue>.Placeholder
FormComponent<TValue>.Disabled
FormComponent<TValue>.EditContext
FormComponent<TValue>.ValueChanged
FormComponent<TValue>.HasValue
FormComponent<TValue>.FieldIdentifier
FormComponent<TValue>.ValueExpression
FormComponent<TValue>.FormFieldContext
FormComponent<TValue>.CurrentPlaceholder
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.IsJSRuntimeAvailable
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
public class RadzenChipList<TValue> : FormComponent<TValue>, IComponent, IHandleEvent, IHandleAfterRender, IRadzenFormComponent, IRadzenChipList| Name | Description |
|---|---|
| TValue | The selected value type. Use IEnumerable for multiple selection mode. |
Displays and manages a collection of chips with optional selection and removal.
public RadzenChipList<TValue>()Gets or sets whether chips can be removed.
public bool AllowDelete { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether chips can be removed. |
Gets or sets the callback invoked when a chip remove action is requested.
public EventCallback<object> ChipRemoved { get; set; }
| Type | Description |
|---|---|
| EventCallback<object> | Gets or sets the callback invoked when a chip remove action is requested. |
Gets or sets the default style applied to chips.
public BadgeStyle ChipStyle { get; set; }
| Type | Description |
|---|---|
| BadgeStyle | Gets or sets the default style applied to chips. |
Gets or sets the data source used to generate chip items.
public Collections.IEnumerable Data { get; set; }
| Type | Description |
|---|---|
| Collections.IEnumerable | Gets or sets the data source used to generate chip items. |
Gets or sets the name of the data property used for item disabled state.
public string DisabledProperty { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name of the data property used for item disabled state. |
Gets or sets declarative chip items.
public RenderFragment Items { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets declarative chip items. |
Gets or sets whether multiple items can be selected.
public bool Multiple { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether multiple items can be selected. |
Gets or sets the chip list orientation.
public Orientation Orientation { get; set; }
| Type | Description |
|---|---|
| Orientation | Gets or sets the chip list orientation. |
Gets or sets the close button accessible title.
public string RemoveChipTitle { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the close button accessible title. |
Gets or sets the default shade applied to chips.
public Shade Shade { get; set; }
| Type | Description |
|---|---|
| Shade | Gets or sets the default shade applied to chips. |
Gets or sets the default chip size.
public ChipSize Size { get; set; }
| Type | Description |
|---|---|
| ChipSize | Gets or sets the default chip size. |
Gets or sets a template for custom chip content.
public RenderFragment<RadzenChipItem> Template { get; set; }
| Type | Description |
|---|---|
| RenderFragment<RadzenChipItem> | Gets or sets a template for custom chip content. |
Gets or sets the name of the data property used as chip text.
public string TextProperty { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name of the data property used as chip text. |
Gets or sets the name of the data property used as chip value.
public string ValueProperty { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name of the data property used as chip value. |
Adds the specified item to the chip list.
public void AddItem(RadzenChipItem item)
| Type | Name | Description |
|---|---|---|
| RadzenChipItem | item | The item to add. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
Removes the specified item from the chip list.
public void RemoveItem(RadzenChipItem item)
| Type | Name | Description |
|---|---|---|
| RadzenChipItem | item | The item. |