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
CascadeOption
Assembly: Serenity.Menu.Application.dll
public sealed class CascadeOption
Constructors
Declaration
public CascadeOption(string label, Action onSelect, bool enabled = true)
Parameters
Properties
Declaration
public bool Enabled { get; }
Property Value
Declaration
public string Label { get; }
Property Value
Declaration
public Action OnSelect { get; }
Property Value