Class TelerikSelectBase<TItem, TValue>
Inherited Members
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
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
|
ReadOnly
The parameter is used to specify if the input field should be read-only.
When set to true
, the input becomes non-editable.
Declaration
public bool ReadOnly { get; set; }
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
|
Subtitle
Defines the subtitle text rendered in the header of the popup. Applicable only when Auto is set.
Declaration
public string Subtitle { 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()
DebounceChangeValue(String)
Declaration
protected virtual void DebounceChangeValue(string value)
Parameters
System.String
value
|
Dispose()
Declaration
public override void Dispose()
Overrides
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
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|
Overrides
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.RemovePopupSettings(DropdownPopupSettings)
Declaration
void IPopupContainer.RemovePopupSettings(DropdownPopupSettings popupSettings)
Parameters
DropdownPopupSettings
popupSettings
|