AngleSharp by Florian Rappl

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

.NET API 1,168,384 bytes

 CssBackgroundAttachmentProperty

More information available at: https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment Gets an enumeration with the desired attachment settings.
using AngleSharp.Css; using AngleSharp.Extensions; namespace AngleSharp.Dom.Css { internal sealed class CssBackgroundAttachmentProperty : CssProperty { private static readonly IValueConverter<BackgroundAttachment[]> Converter = Converters.BackgroundAttachmentConverter.FromList(); internal CssBackgroundAttachmentProperty(CssStyleDeclaration rule) : base(PropertyNames.BackgroundAttachment, rule, PropertyFlags.None) { } protected override object GetDefault(IElement element) { return BackgroundAttachment.Scroll; } protected override object Compute(IElement element) { return Converter.Convert(base.Value); } protected override bool IsValid(ICssValue value) { return Converter.Validate(value); } } }