logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiViewHide

    Use case for hiding a UI element.

    Inheritance
    object
    UiViewHide
    Implements
    ISyncUseCase<UiHideInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved