Interface IEvent
Definition
Namespace: StardewUI.Framework.Dom
Assembly: StardewUI.dll
Event wire-up in a StarML element.
Members
Properties
Name | Description |
---|---|
Arguments | The arguments to the event handler. |
ContextRedirect | Specifies the redirect to use for the context on which the method named HandlerName should exist. |
HandlerName | The name of the event handler (method) to run on the bound or redirected context. |
Name | The event name, i.e. name of the event field on the target IView. |
Methods
Name | Description |
---|---|
Print(StringBuilder) | Prints the textual representation of this event attribute. |
Details
Properties
Arguments
The arguments to the event handler.
Property Value
ContextRedirect
Specifies the redirect to use for the context on which the method named HandlerName should exist.
Property Value
Remarks
Applies to the handler method itself but not any of the Arguments, which specify their own redirects when applicable.
HandlerName
The name of the event handler (method) to run on the bound or redirected context.
Property Value
Name
The event name, i.e. name of the event
field on the target IView.
Property Value
Methods
Print(StringBuilder)
Prints the textual representation of this event attribute.
Parameters
sb
StringBuilder
Builder to receive the attribute's text output.