FullscreenViewportSize Struct

The size of the viewport of a top-level browsing context while its document is displayed fullscreen, in CSS pixels (see BrowsingContextOptions.EnterFullscreen).

public readonly struct FullscreenViewportSize : IEquatable<FullscreenViewportSize>
Implements

Constructors

NameDescription
FullscreenViewportSize(double, double)The size of the viewport of a top-level browsing context while its document is displayed fullscreen, in CSS pixels (see BrowsingContextOptions.EnterFullscreen).

FullscreenViewportSize(double, double)

The size of the viewport of a top-level browsing context while its document is displayed fullscreen, in CSS pixels (see BrowsingContextOptions.EnterFullscreen).

public FullscreenViewportSize(double Width, double Height)

Parameters

Width double
The width of the viewport.
Height double
The height of the viewport.

Properties

NameDescription
HeightThe height of the viewport.
WidthThe width of the viewport.

The height of the viewport.

public double Height { get; init; }

Property value

double

The width of the viewport.

public double Width { get; init; }

Property value

double

Methods

NameDescription
Deconstruct(double, double)
Equals(FullscreenViewportSize)
Equals(object)
GetHashCode()
ToString()

Deconstruct(double, double)

public void Deconstruct(out double Width, out double Height)

Parameters

Width double
Height double

No documentation is available.

Equals overloads

Equals(FullscreenViewportSize)

public bool Equals(FullscreenViewportSize other)
Parameters
other FullscreenViewportSize
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(FullscreenViewportSize, FullscreenViewportSize)
operator !=(FullscreenViewportSize, FullscreenViewportSize)

operator ==(FullscreenViewportSize, FullscreenViewportSize)

public static bool operator ==(FullscreenViewportSize left, FullscreenViewportSize right)

No documentation is available.

operator !=(FullscreenViewportSize, FullscreenViewportSize)

public static bool operator !=(FullscreenViewportSize left, FullscreenViewportSize right)

No documentation is available.