logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CascadeOption

    One selectable entry in a CascadeMenuPage. Selecting it runs OnSelect, which typically either pushes a sub-page (descend the cascade) or resolves a terminal action. Pure model — no engine dependency, so it is unit-testable.

    Inheritance
    object
    CascadeOption
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Menu.Application.Cascade
    Assembly: Serenity.Menu.Application.dll
    Syntax
    public sealed class CascadeOption

    Constructors

    CascadeOption(string, Action, bool)

    Declaration
    public CascadeOption(string label, Action onSelect, bool enabled = true)
    Parameters
    Type Name Description
    string label
    Action onSelect
    bool enabled

    Properties

    Enabled

    Declaration
    public bool Enabled { get; }
    Property Value
    Type Description
    bool

    Label

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    string

    OnSelect

    Declaration
    public Action OnSelect { get; }
    Property Value
    Type Description
    Action
    In this article
    © 2026 Serenity. All Rights Reserved