menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OtpInputEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OtpInputEventArgs

    Represents arguments for the Otp input event.

    Inheritance
    System.Object
    OtpInputEventArgs
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class OtpInputEventArgs : Object

    Constructors

    OtpInputEventArgs()

    Declaration
    public OtpInputEventArgs()

    Properties

    Index

    Gets the index of the OTP input field that is currently focused.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    The zero-based index of the focused OTP input field within the SfOtpInput component.

    PreviousValue

    Gets the previous value of the Otp input.

    Declaration
    public string PreviousValue { get; set; }
    Property Value
    Type Description
    System.String

    The previous value of the Otp input.

    Value

    Gets the current value of the Otp input.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String

    The current value of the Otp input.

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