ClassTelerikChip
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikChip : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikChip
Implements:
Inherited Members
Constructors
TelerikChip()
Declaration
public TelerikChip()
Properties
AriaLabel
Describes the aria-label attribute for the component.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
ChildContent
Specifies arbitrary content for the chip. Overrides default rendering.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
FillMode
Specifies the fill mode of the chip. Default value is Solid.
Declaration
[Parameter]
public string FillMode { get; set; }
Property Value
Icon
Specifies the icon rendered before the chip's text. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.
Id
Defines the id of the component.
OnClick
Declaration
[Parameter]
public EventCallback<ChipClickEventArgs> OnClick { get; set; }
Property Value
OnRemove
Declaration
[Parameter]
public EventCallback<ChipRemoveEventArgs> OnRemove { 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
Selectable
Specifies whether the chip can be selected. Default value is true.
SelectedChanged
Triggered when the Selected parameter is updated.
Declaration
[Parameter]
public EventCallback<bool> SelectedChanged { get; set; }
Property Value
TabIndex
Specifies the TabIndex of the chip component.
Text
Specifies the text for the chip.
ThemeColor
Specifies the theme color of the chip. Default value is Base.
Declaration
[Parameter]
public string ThemeColor { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
Implements
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides