DxTimeEdit<T>.AllowMouseWheel Property
Specifies whether users can use the mouse wheel to increase or decrease the editor value when a mask is applied.
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 Time Edit has a mask applied, 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.
<DxTimeEdit @bind-Time="@Time"
Mask="@DateTimeMask.ShortTime"
AllowMouseWheel="false" />
@code {
DateTime Time { get; set; } = DateTime.Now;
}
You can also use the AllowUpDownArrowKeys property to disable keyboard interaction.
See Also