logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiSetScaleInput

    Data Transfer Object for setting the scale of a UI element.

    Inheritance
    object
    UiSetScaleInput
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Application.DTO
    Assembly: Serenity.Ui.Application.dll
    Syntax
    public class UiSetScaleInput

    Constructors

    UiSetScaleInput(string, float)

    Initializes a new instance of the UiSetScaleInput class with the specified ID and scale.

    Declaration
    public UiSetScaleInput(string id, float scale)
    Parameters
    Type Name Description
    string id

    The identifier of the UI element to be scaled.

    float scale

    The scale factor to be applied to the UI element.

    Fields

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    The identifier of the UI element to be scaled.

    Scale

    Declaration
    public float Scale
    Field Value
    Type Description
    float

    The scale factor to be applied to the UI element.

    In this article
    © 2026 Serenity. All Rights Reserved