Class TelerikChip
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikChip : BaseComponent, IChip, IDisposable
Constructors
TelerikChip()
Declaration
public TelerikChip()
Properties
AriaLabel
Describes the aria-label attribute for the component.
Declaration
public string AriaLabel { get; set; }
Property Value
System.String
|
ChildContent
Specifies arbitrary content for the chip. Overrides default rendering.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Disabled
Specifies the disabled state of the chip. Default value is false.
Declaration
public bool Disabled { get; set; }
Property Value
System.Boolean
|
FillMode
Specifies the fill mode of the chip. Default value is Solid.
Declaration
public string FillMode { get; set; }
Property Value
System.String
|
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.
Declaration
public object Icon { get; set; }
Property Value
System.Object
|
Id
Defines the id of the component.
Declaration
public string Id { get; set; }
Property Value
System.String
|
OnClick
Declaration
public EventCallback<ChipClickEventArgs> OnClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<ChipClickEventArgs>
|
OnRemove
Declaration
public EventCallback<ChipRemoveEventArgs> OnRemove { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<ChipRemoveEventArgs>
|
Removable
Specifies whether the chip is removable. Default value is false.
Declaration
public bool Removable { get; set; }
Property Value
System.Boolean
|
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
public object RemoveIcon { get; set; }
Property Value
System.Object
|
Rounded
Specifies the roundness of the chip. Default value is Medium.
Declaration
public string Rounded { get; set; }
Property Value
System.String
|
Selectable
Specifies whether the chip can be selected. Default value is true.
Declaration
public bool Selectable { get; set; }
Property Value
System.Boolean
|
Selected
Specifies the selected state of the chip. Default value is false.
Declaration
public bool Selected { get; set; }
Property Value
System.Boolean
|
SelectedChanged
Triggered when the Selected parameter is updated.
Declaration
public EventCallback<bool> SelectedChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Boolean>
|
Size
Specifies the roundness of the chip. Default value is Medium.
Declaration
public string Size { get; set; }
Property Value
System.String
|
TabIndex
Specifies the TabIndex of the chip component.
Declaration
public int TabIndex { get; set; }
Property Value
System.Int32
|
Text
Specifies the text for the chip.
Declaration
public string Text { get; set; }
Property Value
System.String
|
ThemeColor
Specifies the theme color of the chip. Default value is Base.
Declaration
public string ThemeColor { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()