logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IModalSettingsDefinition

    Interface defining settings for modals.

    Namespace: Serenity.Modal.Domain.Interfaces
    Assembly: Serenity.Modal.Domain.dll
    Syntax
    public interface IModalSettingsDefinition : IFoundationSettings

    Properties

    ModalAlignment

    Declaration
    UiAnchorType ModalAlignment { get; }
    Property Value
    Type Description
    UiAnchorType

    Gets the alignment of the modal.

    OptionAlignment

    Declaration
    UiComponentAlignmentType OptionAlignment { get; }
    Property Value
    Type Description
    UiComponentAlignmentType

    Gets the alignment of the options within the modal.

    Options

    Declaration
    UiOption[] Options { get; }
    Property Value
    Type Description
    UiOption[]

    Gets the options available in the modal.

    OptionsGap

    Declaration
    float OptionsGap { get; }
    Property Value
    Type Description
    float

    Gets the ID of the modal.

    Position

    Declaration
    Vector2 Position { get; }
    Property Value
    Type Description
    Vector2

    Gets the position of the modal.

    In this article
    © 2026 Serenity. All Rights Reserved