Class ComboBoxModel
Interface for a class ComboBox.
Inheritance
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class ComboBoxModel : Object
Constructors
ComboBoxModel()
Declaration
public ComboBoxModel()
Properties
ActionBegin
Gets or sets the event arguments that are passed before fetching data from the remote server.
Declaration
public ActionBeginEventArgs ActionBegin { get; set; }
Property Value
Type |
---|
ActionBeginEventArgs |
ActionComplete
Gets or sets the event arguments that are passed after data is successfully fetched from the remote server.
Declaration
public ActionCompleteEventArgs ActionComplete { get; set; }
Property Value
Type |
---|
ActionCompleteEventArgs |
ActionFailure
Triggers when the data fetch request from the remote server fails.
Declaration
public EventCallback<object> ActionFailure { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
AllowCustom
Gets or sets a value that specifies whether the component allows user-defined values that do not exist in the data source.
Declaration
public bool AllowCustom { get; set; }
Property Value
Type |
---|
System.Boolean |
Autofill
Gets or sets a value indicating whether to suggest the first matched item in the input when searching. No action is taken when no matches are found.
Declaration
public bool Autofill { get; set; }
Property Value
Type |
---|
System.Boolean |
BeforeOpen
Gets or sets the event arguments that are passed when the popup is about to open.
Declaration
public BeforeOpenEventArgs BeforeOpen { get; set; }
Property Value
Type |
---|
BeforeOpenEventArgs |
Blur
Triggers when focus moves out from the component.
Declaration
public EventCallback<object> Blur { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Change
Triggers when an item in a popup is selected or when the model value is changed by user.
Use Change event to configure the cascading ComboBox.
Declaration
public EventCallback<object> Change { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Close
Triggers when the popup is closed.
Declaration
public EventCallback<object> Close { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Created
Triggers when the component is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
CustomValueSpecifier
Triggers on set a custom value.
Declaration
public EventCallback<object> CustomValueSpecifier { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
DataBound
Gets or sets the DataBound event arguments.
Declaration
public DataBoundEventArgs DataBound { get; set; }
Property Value
Type |
---|
DataBoundEventArgs |
Destroyed
Triggers when the component is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Filtering
Triggers on typing a character in the component.
Declaration
public EventCallback<object> Filtering { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Focus
Triggers when the component is focused.
Declaration
public EventCallback<object> Focus { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Open
Triggers when the popup opens.
Declaration
public EventCallback<object> Open { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Select
Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
Declaration
public EventCallback<object> Select { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
ShowClearButton
Gets or sets a value that specifies whether to show or hide the clear button.
Declaration
public bool ShowClearButton { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true to show the clear button; otherwise, false. |
Remarks
When the clear button is clicked, the Value
, Text
, and Index
properties are reset to null.