skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TelerikSelectBase<TItem, TValue>

Inheritance
System.Object
BaseComponent
DataBoundComponent<TItem>
TelerikSelectBase<TItem, TValue>
TelerikAutoComplete<TItem>
TelerikDropDownList<TItem, TValue>
TelerikMultiSelect<TItem, TValue>
Inherited Members
DataBoundComponent<TItem>.SetParametersAsync(ParameterView)
DataBoundComponent<TItem>.Rebind()
DataBoundComponent<TItem>.Data
BaseComponent.ShouldRender()
BaseComponent.OnAfterRenderAsync(Boolean)
BaseComponent.InitLocalizer()
BaseComponent.ThrowIfParameterIsNull(Object, String)
BaseComponent.HaveOptionsChanged(IDictionary<String, Object>, IDictionary<String, Object>)
BaseComponent.GetClassString(String[])
BaseComponent.InvokeAsync<T>(String, Object[])
BaseComponent.InvokeAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidAsync(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidComponentMethodAsync(String, Object[])
BaseComponent.InvokeDisposeAsync()
BaseComponent.StateHasChanged()
BaseComponent.RootComponent
BaseComponent.Class
Namespace: Telerik.Blazor.Components.Common
Assembly: Telerik.Blazor.dll

Syntax

public abstract class TelerikSelectBase<TItem, TValue> : DataBoundComponent<TItem>, IDisposable, IPopupContainer, ILabelableInput
Type Parameters
TItem

TValue

Constructors

TelerikSelectBase()

Declaration
protected TelerikSelectBase()

Properties

AdaptiveMode

Defines if the component will adapt and automatically change its rendering based on the current screen size. Default value is None.

Declaration
public AdaptiveMode AdaptiveMode { get; set; }
Property Value
AdaptiveMode

AriaDescribedBy

Defines the aria-describedby attribute for the component.

Declaration
public virtual string AriaDescribedBy { get; set; }
Property Value
System.String

AriaLabel

Describe the aria-label attribute for the component.

Declaration
public string AriaLabel { get; set; }
Property Value
System.String

AriaLabelledBy

Describe the aria-labelledby attribute for the component.

Declaration
public string AriaLabelledBy { get; set; }
Property Value
System.String

CascadedEditContext

Declaration
public EditContext CascadedEditContext { get; set; }
Property Value
Microsoft.AspNetCore.Components.Forms.EditContext

Enabled

Specifies whether the Component is enabled.

Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean

FillMode

Specifies the fill mode of the select. Default value is Solid.

Declaration
public string FillMode { get; set; }
Property Value
System.String

Filterable

Defines whether data should be filtered on typing in the component. The data will be filtered based on the TextField.

Declaration
public bool Filterable { get; set; }
Property Value
System.Boolean

FloatingLabel

Declaration
public TelerikFloatingLabel FloatingLabel { get; set; }
Property Value
TelerikFloatingLabel

FooterTemplate

Defines the footer of the suggestion list.

Declaration
public RenderFragment FooterTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment

GroupField

Defines the field by which to group the Data.

Declaration
public string GroupField { get; set; }
Property Value
System.String

HeaderTemplate

Defines the header of suggestion list.

Declaration
public RenderFragment HeaderTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment

Id

Defines the id of the Component.

Declaration
public string Id { get; set; }
Property Value
System.String

ItemHeight

Defines the height of each item in the suggestion list. Accepts a number and is applied as pixels.

Declaration
public Decimal ItemHeight { get; set; }
Property Value
System.Decimal

NoDataTemplate

Defines the content of the suggestion list when there is no data.

Declaration
public RenderFragment NoDataTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment

OnBlur

Declaration
public EventCallback OnBlur { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback

OnChange

Specifies the callback that's called when the current value is committed (confirmed) by the user - either through the Enter key, or when the Component loses focus.

Declaration
public EventCallback<object> OnChange { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Object>

PageSize

Defines the page size of the component for virtual scrolling. Requires ScrollMode="DropDownScrollMode.Virtual".

Declaration
public int PageSize { get; set; }
Property Value
System.Int32

ProcessingData

Declaration
protected bool ProcessingData { get; }
Property Value
System.Boolean

Rounded

Specifies the rounded css value of the select. Default value is Medium.

Declaration
public string Rounded { get; set; }
Property Value
System.String

ScrollMode

Defines scrolling mode of the Component. Possible values are Scrollable and Virtual.

Declaration
public DropDownScrollMode ScrollMode { get; set; }
Property Value
DropDownScrollMode

Size

Specifies the size of the select. Default value is Medium.

Declaration
public string Size { get; set; }
Property Value
System.String

TabIndex

The TabIndex of the component.

Declaration
public Nullable<int> TabIndex { get; set; }
Property Value
System.Nullable<System.Int32>

TextField

Declaration
public virtual string TextField { get; set; }
Property Value
System.String

Title

Defines the title text rendered in the header of the popup. Applicable only when Auto is set.

Declaration
public string Title { get; set; }
Property Value
System.String

Value

Specifies the value of the input. Used with two-way binding.

Declaration
public TValue Value { get; set; }
Property Value
TValue

ValueChanged

Specifies the callback that's called when the value changes.

Declaration
public EventCallback<TValue> ValueChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TValue>

ValueExpression

Specifies the expression that identifies the bound value.

Declaration
public Expression<Func<TValue>> ValueExpression { get; set; }
Property Value
System.Linq.Expressions.Expression<System.Func<TValue>>

ValueField

Defines the ValueField of the Data. Default value: "Value".

Declaration
public string ValueField { get; set; }
Property Value
System.String

Width

Declaration
public string Width { get; set; }
Property Value
System.String

Methods

Close()

Closes the suggestion list of the component.

Declaration
public void Close()

Dispose()

Declaration
public override void Dispose()
Overrides
Telerik.Blazor.Components.Common.DataBoundComponent<TItem>.Dispose()

FocusAsync()

Moves focus to the component.

Declaration
public Task FocusAsync()
Returns
System.Threading.Tasks.Task

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task

Overrides
BaseComponent.OnInitializedAsync()

OnParametersSetAsync()

Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task

Overrides
Telerik.Blazor.Components.Common.DataBoundComponent<TItem>.OnParametersSetAsync()

Open()

Opens the suggestion list of the component.

Declaration
public void Open()

Refresh()

Re-renders the component.

Declaration
public void Refresh()

Explicit Interface Implementations

IPopupContainer.AddPopupSettings(DropdownPopupSettings)

Declaration
void IPopupContainer.AddPopupSettings(DropdownPopupSettings popupSettings)
Parameters
DropdownPopupSettings popupSettings

Implements
IPopupContainer.AddPopupSettings(DropdownPopupSettings)

IPopupContainer.RemovePopupSettings(DropdownPopupSettings)

Declaration
void IPopupContainer.RemovePopupSettings(DropdownPopupSettings popupSettings)
Parameters
DropdownPopupSettings popupSettings

Implements
IPopupContainer.RemovePopupSettings(DropdownPopupSettings)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.