BoolValue : bool ux
The Value as a bool
Represents an argument to be passed with RaiseUserEvent
A user event may also include a number of arguments that can be read from JavaScript.
UserEventArg accepts IntValue
, FloatValue
, StringValue
or
BoolValue
.
Note: See this article for a more complete explanation of user events.
The following example shows a Button that, when clicked, raises a
user event with the argument message
, which has the value
Hello from UX!
.
<UserEvent ux:Name="myEvent" />
<Button Text="Raise event with message">
<Clicked>
<RaiseUserEvent EventName="myEvent">
<UserEventArg Name="message" StringValue="Hello from UX!" />
</RaiseUserEvent>
</Clicked>
</Button>
The Value as a bool
The Value as a float
The Value as an int
The Name of the argument.
The Value as a string
Specifies the generic object
value of the argument.