ClassTelerikSelectBase<TItem, TValue>
Definition
Namespace:Telerik.Blazor.Components.Common
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
TValue
Syntax:
public abstract class TelerikSelectBase<TItem, TValue> : DataBoundComponent<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IPopupContainer
Inheritance: objectComponentBaseBaseComponentDataBoundComponent<TItem>TelerikSelectBase<TItem, TValue>
Derived Classes:
Implements:
Inherited Members
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
[Parameter]
public AdaptiveMode AdaptiveMode { get; set; }
Property Value
AriaDescribedBy
Defines the aria-describedby attribute for the component.
Declaration
[Parameter]
public virtual string AriaDescribedBy { get; set; }
Property Value
AriaLabel
Describe the aria-label attribute for the component.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
AriaLabelledBy
Describe the aria-labelledby attribute for the component.
Declaration
[Parameter]
public string AriaLabelledBy { get; set; }
Property Value
CascadedEditContext
Declaration
[CascadingParameter]
public EditContext CascadedEditContext { get; set; }
Property Value
Enabled
Specifies whether the Component is enabled.
FillMode
Specifies the fill mode of the select. Default value is Solid.
Declaration
[Parameter]
public string FillMode { get; set; }
Property Value
Filterable
Defines whether data should be filtered on typing in the component. The data will be filtered based on the TextField.
FloatingLabel
Declaration
[CascadingParameter]
public TelerikFloatingLabel FloatingLabel { get; set; }
Property Value
FooterTemplate
Defines the footer of the suggestion list.
Declaration
[Parameter]
public RenderFragment FooterTemplate { get; set; }
Property Value
GroupField
Defines the field by which to group the Data.
Declaration
[Parameter]
public string GroupField { get; set; }
Property Value
HeaderTemplate
Defines the header of suggestion list.
Declaration
[Parameter]
public RenderFragment HeaderTemplate { get; set; }
Property Value
Id
Defines the id of the Component.
ItemHeight
Defines the height of each item in the suggestion list. Accepts a number and is applied as pixels.
Declaration
[Parameter]
public decimal ItemHeight { get; set; }
Property Value
NoDataTemplate
Defines the content of the suggestion list when there is no data.
Declaration
[Parameter]
public RenderFragment NoDataTemplate { get; set; }
Property Value
OnBlur
Declaration
[Parameter]
public EventCallback OnBlur { get; set; }
Property Value
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
[Parameter]
public EventCallback<object> OnChange { get; set; }
Property Value
PageSize
Defines the page size of the component for virtual scrolling. Requires ScrollMode="DropDownScrollMode.Virtual".
ReadOnly
The parameter is used to specify if the input field should be read-only.
When set to true
, the input becomes non-editable.
ScrollMode
Defines scrolling mode of the Component. Possible values are Scrollable and Virtual.
Declaration
[Parameter]
public DropDownScrollMode ScrollMode { get; set; }
Property Value
Subtitle
Defines the subtitle text rendered in the header of the popup. Applicable only when Auto is set.
Declaration
[Parameter]
public string Subtitle { get; set; }
Property Value
TabIndex
The TabIndex of the component.
Value
Specifies the value of the input. Used with two-way binding.
Declaration
[Parameter]
public TValue Value { get; set; }
Property Value
TValue
ValueChanged
Specifies the callback that's called when the value changes.
Declaration
[Parameter]
public EventCallback<TValue> ValueChanged { get; set; }
Property Value
EventCallback<TValue>
ValueExpression
Specifies the expression that identifies the bound value.
Declaration
[Parameter]
public Expression<Func<TValue>> ValueExpression { get; set; }
Property Value
Expression<Func<TValue>>
ValueField
Defines the ValueField of the Data. Default value: "Value".
Declaration
[Parameter]
public string ValueField { get; set; }
Property Value
Methods
Close()
Closes the suggestion list of the component.
Declaration
public void Close()
DebounceChangeValue(string)
Declaration
protected virtual void DebounceChangeValue(string value)
Parameters
value
Dispose()
Declaration
public override void Dispose()
Overrides
FocusAsync()
Moves focus to the component.