logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class DisplayInfo

    Represents information about a display device.

    Inheritance
    object
    DisplayInfo
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.SystemConfiguration.Domain.Entities
    Assembly: Serenity.SystemConfiguration.Domain.dll
    Syntax
    public class DisplayInfo

    Constructors

    DisplayInfo()

    Declaration
    public DisplayInfo()

    Properties

    Height

    Declaration
    public int Height { get; set; }
    Property Value
    Type Description
    int

    Gets or sets the height of the display in pixels.

    Index

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    int

    Gets or sets the index of the display.

    IsPrimary

    Declaration
    public bool IsPrimary { get; set; }
    Property Value
    Type Description
    bool

    Gets or sets whether this display is the primary display.

    RefreshRate

    Declaration
    public int RefreshRate { get; set; }
    Property Value
    Type Description
    int

    Gets or sets the refresh rate of the display in Hz.

    Width

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    int

    Gets or sets the width of the display in pixels.

    In this article
    © 2026 Serenity. All Rights Reserved