logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MenuConstants

    Menu related constants.

    Inheritance
    object
    MenuConstants
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Menu.Shared
    Assembly: Serenity.Menu.Shared.dll
    Syntax
    public static class MenuConstants

    Fields

    COMPOSITE_CHILD_TARGET_SEPARATOR

    Separator in a menu-transition target that qualifies a composite custom view's detail child: "<compositeViewId>::<childViewId>". When present, the transition activates that child of the composite in place (keeping the rest of the composite visible) instead of routing to a top-level menu/view by id.

    Declaration
    public const string COMPOSITE_CHILD_TARGET_SEPARATOR = "::"
    Field Value
    Type Description
    string

    HOSTED_INSTANCE_PATH_SEPARATOR

    Separator joining the composite host path with a hosted menu's definition id to form that instance's globally-unique routing id (e.g. "DetailRegion/BothMenus/DemoMenuA"). Lets the same menu definition be hosted as several independent instances, each routed separately by the presenter while keeping its definition id on the view for composite child addressing. Distinct from COMPOSITE_CHILD_TARGET_SEPARATOR so the two never collide.

    Declaration
    public const string HOSTED_INSTANCE_PATH_SEPARATOR = "/"
    Field Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved