File: Web\WheelEventArgs.cs
Web Access
Project: src\src\Components\Web\src\Microsoft.AspNetCore.Components.Web.csproj (Microsoft.AspNetCore.Components.Web)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Components.Web;
 
/// <summary>
/// Supplies information about a mouse wheel event that is being raised.
/// </summary>
public class WheelEventArgs : MouseEventArgs
{
    /// <summary>
    /// The horizontal scroll amount.
    /// </summary>
    public double DeltaX { get; set; }
 
    /// <summary>
    /// The vertical scroll amount.
    /// </summary>
    public double DeltaY { get; set; }
 
    /// <summary>
    /// The scroll amount for the z-axis.
    /// </summary>
    public double DeltaZ { get; set; }
 
    /// <summary>
    /// The unit of the delta values scroll amount.
    /// </summary>
    public long DeltaMode { get; set; }
}