Class MenuConstants
Menu related constants.
Inherited Members
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 |