logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiUseCases

    Container class for various UI use cases.

    Inheritance
    object
    UiUseCases
    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 UiUseCases

    Constructors

    UiUseCases(UiSetScale, UiSetFontSize)

    Initializes a new instance of the UiUseCases class with the specified use cases.

    Declaration
    public UiUseCases(UiSetScale setScale, UiSetFontSize setFontSize)
    Parameters
    Type Name Description
    UiSetScale setScale

    The use case for setting the scale of a UI element.

    UiSetFontSize setFontSize

    The use case for setting the font size of UI elements.

    Fields

    SetFontSize

    Use case for setting the font size of UI elements.

    Declaration
    public UiSetFontSize SetFontSize
    Field Value
    Type Description
    UiSetFontSize

    SetScale

    Use case for setting the scale of a UI element.

    Declaration
    public UiSetScale SetScale
    Field Value
    Type Description
    UiSetScale
    In this article
    © 2026 Serenity. All Rights Reserved