ClassTelerikComboBox<TItem, TValue>
The class for the Telerik ComboBox component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
TValue
Syntax:
public class TelerikComboBox<TItem, TValue> : ComboBoxBase<TItem, TValue>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IPopupContainer
Inheritance: objectComponentBaseBaseComponentDataBoundComponent<TItem>TelerikSelectBase<TItem, TValue>ComboBoxBase<TItem, TValue>TelerikComboBox<TItem, TValue>
Implements:
Inherited Members
Constructors
TelerikComboBox()
Declaration
public TelerikComboBox()
Properties
ComboBoxPrefixTemplate
The content of the ComboBox prefix.
Declaration
[Parameter]
public RenderFragment ComboBoxPrefixTemplate { get; set; }
Property Value
ComboBoxSettings
Defines a RenderFragment that contains all settings for the autocomplete. See ComboBoxPopupSettings.
Declaration
[Parameter]
public RenderFragment ComboBoxSettings { get; set; }
Property Value
ComboBoxSuffixTemplate
The content of the ComboBox suffix.
Declaration
[Parameter]
public RenderFragment ComboBoxSuffixTemplate { get; set; }
Property Value
ItemTemplate
Defines the item template of the list items.
Declaration
[Parameter]
public RenderFragment<TItem> ItemTemplate { get; set; }
Property Value
RenderFragment<TItem>
OnClose
Defines the OnClose Event which is fired before the suggestion list of the ComboBox is closed.
Declaration
[Parameter]
public EventCallback<ComboBoxCloseEventArgs> OnClose { get; set; }
Property Value
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
[Parameter]
public Action<ComboBoxItemRenderEventArgs<TItem>> OnItemRender { get; set; }
Property Value
Action<ComboBoxItemRenderEventArgs<TItem>>
OnOpen
Defines the OnOpen Event which is fired before the suggestion list of the ComboBox is opened.
Declaration
[Parameter]
public EventCallback<ComboBoxOpenEventArgs> OnOpen { get; set; }
Property Value
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
[Parameter]
public EventCallback<ComboBoxReadEventArgs> OnRead { get; set; }
Property Value
ShowPrefixSeparator
Defines whether the prefix separator should be shown. The default value is true.
Declaration
[Parameter]
public bool ShowPrefixSeparator { get; set; }
Property Value
ShowSuffixSeparator
Defines whether the suffix separator should be shown. The default value is true.
Declaration
[Parameter]
public bool ShowSuffixSeparator { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides