ClassTelerikChipList<TItem>
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
Syntax:
public class TelerikChipList<TItem> : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikChipList<TItem>
Implements:
Inherited Members
Constructors
TelerikChipList()
Declaration
public TelerikChipList()
Properties
AriaLabel
Specifies aria-label attribute of the ChipList.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
AriaLabelledBy
Specifies aria-labelledby attribute of the ChipList.
Declaration
[Parameter]
public string AriaLabelledBy { get; set; }
Property Value
Data
Defines the collection used to render the individual Chip components.
Declaration
[Parameter]
public IEnumerable<TItem> Data { get; set; }
Property Value
IEnumerable<TItem>
DisabledField
Specifies which field of the model determines if the chip is disabled or not. Default field name is "Disabled".
Declaration
[Parameter]
public string DisabledField { get; set; }
Property Value
FillMode
Specifies the fill mode of the chip components. Default value is Solid.
Declaration
[Parameter]
public string FillMode { get; set; }
Property Value
Gap
Specifies the gap (padding) between the chip components. Default value is Medium.
Declaration
[Parameter]
public ChipListGap Gap { get; set; }
Property Value
IconField
Specifies which field of the model should be used for the icon of the Chip. Default field name is "Icon".
Declaration
[Parameter]
public string IconField { get; set; }
Property Value
ItemTemplate
Declaration
[Parameter]
public RenderFragment<TItem> ItemTemplate { get; set; }
Property Value
RenderFragment<TItem>
OnRemove
The event that is triggered when a chip's removed.
Declaration
[Parameter]
public EventCallback<ChipListRemoveEventArgs> OnRemove { get; set; }
Property Value
Removable
Specifies whether the chip components will be removable. Default value is false. Applied to all child Chip components. RemovableField overrides this option and allows for conditionally removable Chips.
RemovableField
Specifies which field of the model determines if the chip is removable or not. Default field name is "Removable".
Declaration
[Parameter]
public string RemovableField { get; set; }
Property Value
RemoveIcon
Specifies an icon rendered as the remove symbol of the chip. You can use either a predefined Telerik Icon or a custom one.
Declaration
[Parameter]
public object RemoveIcon { get; set; }
Property Value
SelectedItems
Defines the collection for the selected items of the ChipList.
Declaration
[Parameter]
public IEnumerable<TItem> SelectedItems { get; set; }
Property Value
IEnumerable<TItem>
SelectedItemsChanged
The event that is triggered when the selected items are changed.
Declaration
[Parameter]
public EventCallback<IEnumerable<TItem>> SelectedItemsChanged { get; set; }
Property Value
EventCallback<IEnumerable<TItem>>
SelectionMode
Defines the selection mode of the ChipList. Default value is Single.
Declaration
[Parameter]
public ChipListSelectionMode SelectionMode { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides