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.
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 |