DxMaskedInput<T>.AllowMouseWheel Property
Specifies whether users can use the mouse wheel to increase or decrease the editor value.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v26.1.dll
Declaration
[DefaultValue(true)]
[Parameter]
public bool AllowMouseWheel { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Remarks
When the Masked Input uses Numeric/Date/Time masks, users can use the mouse wheel to increase or decrease the value in the active mask section.
You can set the AllowMouseWheel property to false to disable this functionality.
<DxMaskedInput @bind-Value="@Value"
Mask="@DateTimeMask.ShortDate"
AllowMouseWheel="false" />
@code {
DateTime Value = DateTime.Now;
}
You can also use the AllowUpDownArrowKeys property to disable keyboard interaction.
See Also