logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class OnFontSizeChangedSignal

    Event dispatched when the font size changes in the UI system.
    This event allows UI components (like menus) to trigger layout recalculation when font size changes, similar to how locale changes trigger menu resizing.

    Inheritance
    object
    OnFontSizeChangedSignal
    Namespace: Serenity.Ui.Application.Events
    Assembly: Serenity.Ui.Application.dll
    Syntax
    public class OnFontSizeChangedSignal : EventDispatcherSignal

    Constructors

    OnFontSizeChangedSignal()

    Initializes a new instance of the OnFontSizeChangedSignal class.

    Declaration
    public OnFontSizeChangedSignal()

    OnFontSizeChangedSignal(float)

    Initializes a new instance of the OnFontSizeChangedSignal class with the specified font size.

    Declaration
    public OnFontSizeChangedSignal(float newFontSize)
    Parameters
    Type Name Description
    float newFontSize

    The new font size value.

    Fields

    NewFontSize

    Declaration
    public readonly float NewFontSize
    Field Value
    Type Description
    float

    The new font size value after the change.

    Methods

    ToString()

    Returns a string representation of the event.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved