HtmlSanitizer by Michael Ganss

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

 RemovingStyleEventArgs

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

Gets or sets the reason why the style will be removed

public ICssProperty Style { get; }

Gets or sets the style to be removed.

public IElement Tag { get; }

Gets or sets the tag containing the style to be removed.

Initializes a new instance of the RemovingStyleEventArgs class.