ArgList : IList of UserEventArg ux
The list of arguments to pass along with the event. Generally this is specified as a list of UserEventArg children.
Raises a UserEvent specified by name.
The UserEvent must exist higher up in the tree than this action.
Note: See this article for a more complete explanation of user events.
The following example shows a button which raises a UserEvent when clicked.
<UserEvent ux:Name="myEvent" />
<Button>
<Clicked>
<RaiseUserEvent EventName="myEvent" />
</Clicked>
</Button>
You can also pass arguments using UserEventArg. When using a JavaScript function to handle the event, the arguments will be passed to that function.
<UserEvent ux:Name="myEvent" />
<Button>
<Clicked>
<RaiseUserEvent EventName="myEvent">
<UserEventArg Name="name" StringValue="james" />
<UserEventArg Name="isAdmin" BoolValue="false" />
</RaiseUserEvent>
</Clicked>
</Button>
The list of arguments to pass along with the event. Generally this is specified as a list of UserEventArg children.
The name of the even to raise. This corresponds to the UserEvent.Name property.
Creates a new RaiseUserEvent
The number of seconds after the start of the trigger that the action should be performed.
hide
hide
hide