Skip to main content
All docs
V26.1
  • DxMaskedInput<T>.AllowUpDownArrowKeys Property

    Specifies whether users can press Up/Down arrow keys to increase/decrease the editor value.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v26.1.dll

    Declaration

    [DefaultValue(true)]
    [Parameter]
    public bool AllowUpDownArrowKeys { get; set; }

    Property Value

    Type Default Description
    Boolean true

    true if a user can use arrow keys to change the editor value; otherwise, false.

    Remarks

    Users can use the arrow keys to change the Masked Input value (for Numeric/Date/Time masks). Set the AllowUpDownArrowKeys property to false to disable this functionality.

    <DxMaskedInput @bind-Value="@Value"
                   Mask="@DateTimeMask.ShortDate"
                   AllowUpDownArrowKeys="false" />
    
    @code {
        DateTime Value = DateTime.Now;
    }
    

    You can also use the AllowMouseWheel property to disable mouse wheel interaction.

    See Also