Struct ScreenInformation

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    ScreenInformation is a struct designed to encapsulate the information of screen. It contains three properties as screen name, width and hegiht. The ScreenInformation is especially used to support multiple screen.

    public struct ScreenInformation : IEquatable<ScreenInformation>
    Implements
    IEquatable<><ScreenInformation>

    Constructors

    View Source

    ScreenInformation(string, int, int)

    The construct with name, width and height for screen.

    Declaration
    public ScreenInformation(string name, int width, int height)
    Parameters
    Type Name Description
    string name
    int width
    int height

    Properties

    View Source

    Height

    Gets or sets the height of the screen.

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

    The height of the screen.

    View Source

    Name

    Gets or sets the name of the screen.

    Declaration
    public readonly string Name { get; }
    Property Value
    Type Description
    string

    The name of the screen.

    View Source

    Width

    Gets or sets the width of the screen.

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

    The width of the screen.

    Methods

    View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    View Source

    Equals(ScreenInformation)

    Whether this is equivalent to other.

    Declaration
    public bool Equals(ScreenInformation other)
    Parameters
    Type Name Description
    ScreenInformation other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Operators

    View Source

    operator ==(ScreenInformation, ScreenInformation)

    Compares two ScreenInformation for equality.

    Declaration
    public static bool operator ==(ScreenInformation operand1, ScreenInformation operand2)
    Parameters
    Type Name Description
    ScreenInformation operand1

    The first operand object.

    ScreenInformation operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are equal, otherwise false.

    View Source

    operator !=(ScreenInformation, ScreenInformation)

    Compares two ScreenInformation for inequality.

    Declaration
    public static bool operator !=(ScreenInformation operand1, ScreenInformation operand2)
    Parameters
    Type Name Description
    ScreenInformation operand1

    The first operand object.

    ScreenInformation operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are not equal, otherwise false.

    Implements

    IEquatable<>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX