logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class OnShowModalInput

    Input data transfer object for showing a modal.

    Inheritance
    object
    OnShowModalInput
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Modal.Application.DTO
    Assembly: Serenity.Modal.Application.dll
    Syntax
    public class OnShowModalInput

    Constructors

    OnShowModalInput(string, string, string, List<SerializedComponentData>)

    Initializes a new instance of the OnShowModalInput class.

    Declaration
    public OnShowModalInput(string id, string title, string text, List<SerializedComponentData> buttonsData)
    Parameters
    Type Name Description
    string id

    The unique identifier for the modal.

    string title

    The title of the modal.

    string text

    The text content of the modal.

    List<SerializedComponentData> buttonsData

    The list of button data for the modal.

    Fields

    ButtonsData

    Declaration
    public List<SerializedComponentData> ButtonsData
    Field Value
    Type Description
    List<SerializedComponentData>

    The list of button data for the modal.

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    The unique identifier for the modal.

    Text

    Declaration
    public string Text
    Field Value
    Type Description
    string

    The text content of the modal.

    Title

    Declaration
    public string Title
    Field Value
    Type Description
    string

    The title of the modal.

    Methods

    ToString()

    Returns a string representation of the OnShowModalInput instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representation of the instance.

    Overrides
    object.ToString()
    In this article
    © 2026 Serenity. All Rights Reserved