Skip to main content

Screen Class

Represents a single display screen.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public class Screen : IEquatable<Screen>
View Source
InheritanceObject → Screen
DerivedPlatformScreen
ImplementsIEquatable(Screen)

Constructors

Screen(Double, PixelRect, PixelRect, Boolean)Initializes a new instance of the Screen class.
Unstable.

Methods

Equals(Screen)Indicates whether the current object is equal to another object of the same type.
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Overrides Object.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
TryGetPlatformHandle()Tries to get the platform handle for the Screen.

Operators

Equality(Screen, Screen) 
Inequality(Screen, Screen) 

See Also

Reference

Avalonia.Platform Namespace