AngleSharp by AngleSharp

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

.NET API 1,230,848 bytes

 IMediaList

A collection of media queries.
string this[int index] { get; }

Gets the medium item at the specified index.

int Length { get; }

Gets the number of media in the list.

string MediaText { get; set; }

Gets or sets the parsable textual representation of the media list. This is a comma-separated list of media.

void Add(string medium)

Adds the medium to the end of the list. If the medium is already used, it is first removed.

void Remove(string medium)

Deletes the medium indicated from the list of media queries.

bool Validate(RenderDevice device)

Validates the list of contained media against the rendering device.