A compact component for displaying short text labels, tags, or statuses with optional icon and remove action.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.SetParametersAsync
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
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 RadzenChip : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRenderA compact component for displaying short text labels, tags, or statuses with optional icon and remove action.
public RadzenChip()Gets or sets custom child content rendered inside the chip.
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets custom child content rendered inside the chip. |
Gets or sets the chip semantic style.
public BadgeStyle ChipStyle { get; set; }
| Type | Description |
|---|---|
| BadgeStyle | Gets or sets the chip semantic style. |
Gets or sets the callback invoked when the chip is clicked.
public EventCallback<MouseEventArgs> Click { get; set; }
| Type | Description |
|---|---|
| EventCallback<MouseEventArgs> | Gets or sets the callback invoked when the chip is clicked. |
Gets or sets the callback invoked when the remove button is clicked.
public EventCallback<MouseEventArgs> Close { get; set; }
| Type | Description |
|---|---|
| EventCallback<MouseEventArgs> | Gets or sets the callback invoked when the remove button is clicked. |
Gets or sets a value indicating whether the chip is disabled.
public bool Disabled { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the chip is disabled. |
Gets or sets the material icon displayed before the text.
public string Icon { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the material icon displayed before the text. |
Gets or sets the title used by the close button for accessibility.
public string RemoveChipTitle { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the title used by the close button for accessibility. |
Gets or sets a value indicating whether the chip is selected.
public bool Selected { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the chip is selected. |
Gets or sets the chip color shade.
public Shade Shade { get; set; }
| Type | Description |
|---|---|
| Shade | Gets or sets the chip color shade. |
Gets or sets the chip size.
public ChipSize Size { get; set; }
| Type | Description |
|---|---|
| ChipSize | Gets or sets the chip size. |
Gets or sets the tab index of the chip.
public int TabIndex { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets the tab index of the chip. |
Gets or sets the text content of the chip.
public string Text { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the text content of the chip. |