Class CustomValueEventArgs<T>
Event arguments for the custom value entry scenario, typically fired when the user attempts to create a new (non-list) value in dropdown-like components (ComboBox, MultiSelect).
Inheritance
System.Object
CustomValueEventArgs<T>
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class CustomValueEventArgs<T> : Object
Type Parameters
Name | Description |
---|---|
T | The type of the new data item provided by the user (for example, |
Constructors
CustomValueEventArgs()
Declaration
public CustomValueEventArgs()
Properties
Cancel
Gets or sets whether the current custom value creation event should be cancelled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
NewData
Gets or sets the new data instance submitted as a custom value in the control.
Declaration
public T NewData { get; set; }
Property Value
Type | Description |
---|---|
T | The custom value of type |
Text
Gets or sets the string representing the actual text input from the user to be used as a custom value or label.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The custom text as |