Class BOBInputOtpVariant
- Namespace
- BlazOrbit.Components.Forms
- Assembly
- BlazOrbit.dll
Represents a variant definition for the BOBInputOtp component.
public sealed class BOBInputOtpVariant : Variant, IVariant
- Inheritance
-
objectBOBInputOtpVariant
- Implements
- Inherited Members
Constructors
BOBInputOtpVariant(string)
Initializes a new instance of the BOBInputOtpVariant class with the specified name.
public BOBInputOtpVariant(string name)
Parameters
namestringThe variant name.
Fields
Boxed
The boxed OTP variant — fully boxed slots with rounded borders.
public static readonly BOBInputOtpVariant Boxed
Field Value
Default
The default OTP variant — boxed slots with bottom underline.
public static readonly BOBInputOtpVariant Default
Field Value
Underlined
The underlined OTP variant — only bottom border per slot.
public static readonly BOBInputOtpVariant Underlined
Field Value
Methods
Custom(string)
Creates a custom OTP variant with the specified name.
public static BOBInputOtpVariant Custom(string name)
Parameters
namestringThe variant name.
Returns
- BOBInputOtpVariant
A new BOBInputOtpVariant instance.