AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.6" />

 UiEvent

public class UiEvent : Event
Represents the event args for any UI event.
public int Detail { get; }

Gets the event details.

public IWindow View { get; }

Gets the associated view.

public UiEvent()

Creates a new event.

public UiEvent(string type, bool bubbles, bool cancelable, IWindow view, int detail)

Creates a new event and initializes it.

public UiEvent(string type, IDictionary<string, object> eventInitDict = null)

Creates a new event and initializes it.

public void Init(string type, bool bubbles, bool cancelable, IWindow view, int detail)

Initializes the UI event.