logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiSetScale

    Use case for setting the scale of a UI element.

    Inheritance
    object
    UiSetScale
    Implements
    ISyncUseCase<UiSetScaleInput>
    IUseCase
    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.UseCases
    Assembly: Serenity.Ui.Application.dll
    Syntax
    public class UiSetScale : ISyncUseCase<UiSetScaleInput>, IUseCase

    Constructors

    UiSetScale(IUiService)

    Initializes a new instance of the UiSetScale class with the specified UI service.

    Declaration
    public UiSetScale(IUiService service)
    Parameters
    Type Name Description
    IUiService service

    The UI service used to perform the scale operation.

    Methods

    Execute(UiSetScaleInput)

    Executes the use case to set the scale of a UI element based on the provided input.

    Declaration
    public void Execute(UiSetScaleInput input)
    Parameters
    Type Name Description
    UiSetScaleInput input

    The input data containing the ID of the UI element and the desired scale.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved