Class TelerikComboBox<TItem, TValue>
The class for the Telerik ComboBox component.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikComboBox<TItem, TValue> : ComboBoxBase<TItem, TValue>, IDisposable, IPopupContainer, ILabelableInput
Type Parameters
TItem
|
TValue
|
Constructors
TelerikComboBox()
Declaration
public TelerikComboBox()
Properties
ComboBoxPrefixTemplate
The content of the ComboBox prefix.
Declaration
public RenderFragment ComboBoxPrefixTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
ComboBoxSettings
Defines a Microsoft.AspNetCore.Components.RenderFragment that contains all settings for the autocomplete. See ComboBoxPopupSettings.
Declaration
public RenderFragment ComboBoxSettings { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
ComboBoxSuffixTemplate
The content of the ComboBox suffix.
Declaration
public RenderFragment ComboBoxSuffixTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
ItemTemplate
Defines the item template of the list items.
Declaration
public RenderFragment<TItem> ItemTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<TItem>
|
OnClose
Defines the OnClose Event which is fired before the suggestion list of the ComboBox is closed.
Declaration
public EventCallback<ComboBoxCloseEventArgs> OnClose { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<ComboBoxCloseEventArgs>
|
OnItemRender
Fires each time an item in dropdown renders. Use the event to add a custom CSS class to each dropdown item based on its value.
Declaration
public Action<ComboBoxItemRenderEventArgs<TItem>> OnItemRender { get; set; }
Property Value
System.Action<ComboBoxItemRenderEventArgs<TItem>>
|
OnOpen
Defines the OnOpen Event which is fired before the suggestion list of the ComboBox is opened.
Declaration
public EventCallback<ComboBoxOpenEventArgs> OnOpen { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<ComboBoxOpenEventArgs>
|
OnRead
Fires when the data source is read. Use this to attach your own filtering logic. Once attached, you must implement all such data source operations here, the Component will no longer perform them for you.
Declaration
public EventCallback<ComboBoxReadEventArgs> OnRead { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<ComboBoxReadEventArgs>
|
ShowPrefixSeparator
Defines whether the prefix separator should be shown. The default value is true.
Declaration
public bool ShowPrefixSeparator { get; set; }
Property Value
System.Boolean
|
ShowSuffixSeparator
Defines whether the suffix separator should be shown. The default value is true.
Declaration
public bool ShowSuffixSeparator { get; set; }
Property Value
System.Boolean
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|