Class UiSetFontSize
Use case for setting the font size of UI elements.
Inherited Members
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. |