You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Services/Scroll/ScrollEventArgs.cs

39 lines
1.2 KiB

2 years ago
using Connected.Interop;
namespace Connected;
public class ScrollEventArgs : EventArgs
{
/// <summary>
/// The BoundingClientRect for the first child of the scrolled element
/// </summary>
public BoundingClientRect FirstChildBoundingClientRect { get; set; }
/// <summary>
/// The ScrollTop property gets or sets the number of pixels that an element's content is scrolled vertically
/// </summary>
public double ScrollTop { get; set; }
/// <summary>
/// The ScrollLeft property gets or sets the number of pixels that an element's content is scrolled from its left edge.
/// </summary>
public double ScrollLeft { get; set; }
/// <summary>
/// The ScrollHeight property is a measurement of the height of an element's content, including content not visible on the screen due to overflow
/// </summary>
public int ScrollHeight { get; set; }
/// <summary>
/// The ScrollWidth property is a measurement of the width of an element's content, including content not visible on the screen due to overflow
/// </summary>
public int ScrollWidth { get; set; }
/// <summary>
/// Node name of the scrolled element
/// </summary>
public string NodeName { get; set; }
}