Screen Class
Represents a single display screen.
Definition
Namespace: Avalonia.Platform
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public class Screen : IEquatable<Screen>
Public Class Screen
Implements IEquatable(Of Screen)
type Screen =
class
interface IEquatable<Screen>
end
| Inheritance | Object → Screen |
| Derived | PlatformScreen |
| Implements | IEquatable(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) |