logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CascadeMenuDefinition

    Base ScriptableObject for a typed cascade-menu node. Holds the shared authoring data (title key + the per-level cascade offset) and implements ICascadeMenuNode so a CascadeMenuBuilder can turn the authored tree into live pages at runtime. Concrete kinds (command, dynamic list, target) derive from this.

    Inheritance
    object
    CascadeMenuDefinition
    DynamicCascadeMenu
    OptionsCascadeMenu
    TargetCascadeMenu
    Implements
    ICascadeMenuNode
    IFoundationSettings
    Namespace: Serenity.Menu.Infrastructure.Cascade.Definitions
    Assembly: Serenity.UnityMenu.Infrastructure.dll
    Syntax
    public abstract class CascadeMenuDefinition : ScriptableObject, ICascadeMenuNode, IFoundationSettings

    Constructors

    CascadeMenuDefinition()

    Declaration
    protected CascadeMenuDefinition()

    Fields

    Guid

    Declaration
    public string Guid
    Field Value
    Type Description
    string

    GUID for this cascade-menu node.

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    Unique identifier for this cascade-menu node.

    _titleKey

    Declaration
    protected string _titleKey
    Field Value
    Type Description
    string

    Methods

    ApplyLayout(CascadeMenuPage)

    Applies this level's configured offset to the built page, if overridden.

    Declaration
    protected CascadeMenuPage ApplyLayout(CascadeMenuPage page)
    Parameters
    Type Name Description
    CascadeMenuPage page
    Returns
    Type Description
    CascadeMenuPage

    BuildPage(CascadeMenuBuilder)

    Declaration
    public abstract CascadeMenuPage BuildPage(CascadeMenuBuilder builder)
    Parameters
    Type Name Description
    CascadeMenuBuilder builder
    Returns
    Type Description
    CascadeMenuPage

    Title(ICascadeMenuContext)

    Declaration
    protected string Title(ICascadeMenuContext ctx)
    Parameters
    Type Name Description
    ICascadeMenuContext ctx
    Returns
    Type Description
    string

    Implements

    ICascadeMenuNode
    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved