Class UiSetScale
Use case for setting the scale of a UI element.
Inherited Members
Namespace: Serenity.Ui.Application.UseCases
Assembly: Serenity.Ui.Application.dll
Syntax
public class UiSetScale : ISyncUseCase<UiSetScaleInput>, IUseCase
Constructors
UiSetScale(IUiService)
Initializes a new instance of the UiSetScale class with the specified UI service.
Declaration
public UiSetScale(IUiService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IUiService | service | The UI service used to perform the scale operation. |
Methods
Execute(UiSetScaleInput)
Executes the use case to set the scale of a UI element based on the provided input.
Declaration
public void Execute(UiSetScaleInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| UiSetScaleInput | input | The input data containing the ID of the UI element and the desired scale. |