Then set an object's (such as a button or menu item) Action to Action1.
Write an On Update event handler to configure the properties of a specified action in the list so that it reflects current conditions.
A View is an object that represents a page within an app. This is called before the View is removed from the foreground.
An app may have multiple View objects representing things like menus and other app states. This occurs when a new View object is pushed on top of the current one, when the current View is popped, or when the app is closed.
If the On Update event handler sets its Handled parameter to true, the action is considered updated, and processing stops there.