HtmlSanitizer by Michael Ganss

<PackageReference Include="HtmlSanitizer" Version="8.0.838" />

 RemovingStyleEventArgs

Provides data for the RemovingStyle event.
public RemoveReason Reason { get; }

Gets the reason why the style will be removed.

public ICssProperty Style { get; }

Gets the style to be removed.

public IElement Tag { get; }

Gets the tag containing the style to be removed.

Initializes a new instance of the RemovingStyleEventArgs class.