AngleSharp by Florian Rappl

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

.NET API 1,229,312 bytes

 CssTextAlignProperty

Information can be found on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/text-align Gets the selected horizontal alignment mode.
using AngleSharp.Css; using AngleSharp.Extensions; namespace AngleSharp.Dom.Css { internal sealed class CssTextAlignProperty : CssProperty { internal CssTextAlignProperty(CssStyleDeclaration rule) : base(PropertyNames.TextAlign, rule, PropertyFlags.Inherited) { } protected override object GetDefault(IElement element) { return HorizontalAlignment.Left; } protected override object Compute(IElement element) { return Converters.HorizontalAlignmentConverter.Convert(base.Value); } protected override bool IsValid(CssValue value) { return Converters.HorizontalAlignmentConverter.Validate(value); } } }