Class UiViewHide
Use case for hiding a UI element.
Inherited Members
Namespace: Serenity.Ui.Application.UseCases
Assembly: Serenity.Ui.Application.dll
Syntax
public class UiViewHide : ISyncUseCase<UiHideInput>, IUseCase
Constructors
UiViewHide(IUiPresenter)
Initializes a new instance of the UiViewHide class with the specified UI presenter.
Declaration
public UiViewHide(IUiPresenter presenter)
Parameters
| Type | Name | Description |
|---|---|---|
| IUiPresenter | presenter | The UI presenter used to perform the hide operation. |
Methods
Execute(UiHideInput)
Executes the use case to hide a UI element based on the provided input.
Declaration
public void Execute(UiHideInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| UiHideInput | input | The input data containing the ID of the UI element to be hidden. |