logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IFoundationViewElement

    Interface representing a foundation view element.

    Namespace: Serenity.Global.Domain.Entities
    Assembly: Serenity.Global.Domain.dll
    Syntax
    public interface IFoundationViewElement

    Methods

    GetViewElement()

    Gets the underlying view element.

    Declaration
    object GetViewElement()
    Returns
    Type Description
    object

    The underlying view element.

    Initialize(object)

    Initializes the view element with the provided object.

    Declaration
    void Initialize(object viewElement)
    Parameters
    Type Name Description
    object viewElement

    The view element to initialize with.

    SetActive(bool)

    Sets the active state of the view element.

    Declaration
    void SetActive(bool active)
    Parameters
    Type Name Description
    bool active

    True to activate the view element; otherwise, false.

    In this article
    © 2026 Serenity. All Rights Reserved