AngleSharp by Florian Rappl

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

 FocusEvent

public class FocusEvent : UiEvent
Represents the arguments for a focus event.
using AngleSharp.Attributes; using AngleSharp.Extensions; using System.Collections.Generic; namespace AngleSharp.Dom.Events { [DomName("FocusEvent")] public class FocusEvent : UiEvent { [DomName("relatedTarget")] public IEventTarget Target { get; set; } public FocusEvent() { } public FocusEvent(string type, bool bubbles, bool cancelable, IWindow view, int detail, IEventTarget target) { Init(type, bubbles, cancelable, view, detail, target); } [DomConstructor] public FocusEvent(string type, IDictionary<string, object> eventInitDict = null) : base(type, eventInitDict) { Target = (eventInitDict.TryGet("target") as IEventTarget); } [DomName("initFocusEvent")] public void Init(string type, bool bubbles, bool cancelable, IWindow view, int detail, IEventTarget target) { Init(type, bubbles, cancelable, view, detail); Target = target; } } }