menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomValueEventArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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, string).

    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

    true if creation should be cancelled; otherwise false (default: false).

    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 T (as added by the user or developer).

    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 string provided by the user.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved