Creates a new instance of menus/Menu!Menu.
Optionalproperties: TMenuPropsAn object containing initial property values to set.
Protected Readonly_handlesProtected_idThe unique ID for this entity. Once set, this should never change.
Protected Readonly_itemThe item type for this entity when it participates in an App.
StaticfactoryThe factory that will be used whenever a new menu needs to be created. Applications can supply their own factory to customize menu creation.
Determines how a parent object should handle initialization failure in this object. The default is "warn".
"error": support/InitializeError!InitializeError is thrown."warn": Message is logged and
support/InitializableBase!InitializeWarningEvent is raised."ignore": support/InitializableBase!InitializeWarningEvent is
raised.The unique ID for this entity.
The item type for this entity when it participates in an App.
A human-readable title for this menu.
Protected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_initializableCollections of child items to initialize. Items that fail to initialize are removed from the collection.
Protected_initializeProtected_onProtected_onCalled to perform initialization of the support/InitializableBase!InitializableBase. Subclasses should override this method rather than initialize() to perform custom initialization.
Protected_postProtected_toConverts the value to a PropertyDef object.
The value to convert.
Returns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
StaticcreateCreates the appropriate subclass of menus/Menu!Menu based on the supplied properties. Applications can customize the default creation behavior by supplying a custom factory object (see menus/Menu!Menu.factory).
The menu properties.
A set of actions that can be performed by a user.