logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiSetFontSize

    Use case for setting the font size of UI elements.

    Inheritance
    object
    UiSetFontSize
    Implements
    ISyncUseCase<SetFontSizeInput>
    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 UiSetFontSize : ISyncUseCase<SetFontSizeInput>, IUseCase

    Constructors

    UiSetFontSize(IUiService)

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

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

    The UI service used to perform the font size operation.

    Methods

    Execute(SetFontSizeInput)

    Executes the use case to set the font size of UI elements based on the provided input.

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

    The input data containing the ID and the desired font size.

    Implements

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