![]() |
CSLA .NET 10.0.0
A home for your business logic
|
Control used to invoke a method on the DataContext based on an event being raised by a UI control. More...
Public Member Functions | |
| TriggerAction () | |
| Creates an instance of the object. | |
Static Public Attributes | |
| static readonly DependencyProperty | TargetControlProperty |
| Gets or sets the target UI control. | |
| static readonly DependencyProperty | TriggerEventProperty |
| Gets or sets the name of the event that will trigger the action. | |
| static readonly DependencyProperty | MethodNameProperty |
| Gets or sets the name of the method to be invoked. | |
| static readonly DependencyProperty | MethodParameterProperty |
| Gets or sets the value of a parameter to be passed to the invoked method. | |
| static readonly DependencyProperty | RebindParameterDynamicallyProperty |
| Gets or sets a value indicating whether the MethodParameter value should be dynamically rebound before invoking the target method. | |
Properties | |
| FrameworkElement? | TargetControl [get, set] |
| Gets or sets the target UI control. | |
| string | TriggerEvent [get, set] |
| Gets or sets the name of the event that will trigger the action. | |
| string? | MethodName [get, set] |
| Gets or sets the name of the method to be invoked. | |
| object? | MethodParameter [get, set] |
| Gets or sets the value of a parameter to be passed to the invoked method. | |
| bool | RebindParameterDynamically [get, set] |
| Gets or sets a value indicating whether the MethodParameter value should be dynamically rebound before invoking the target method. | |
Control used to invoke a method on the DataContext based on an event being raised by a UI control.
|
inline |
Creates an instance of the object.
|
static |
Gets or sets the name of the method to be invoked.
|
static |
Gets or sets the value of a parameter to be passed to the invoked method.
|
static |
Gets or sets a value indicating whether the MethodParameter value should be dynamically rebound before invoking the target method.
|
static |
Gets or sets the target UI control.
|
static |
Gets or sets the name of the event that will trigger the action.
|
getset |
Gets or sets the name of the method to be invoked.
|
getset |
Gets or sets the value of a parameter to be passed to the invoked method.
|
getset |
Gets or sets a value indicating whether the MethodParameter value should be dynamically rebound before invoking the target method.
|
getset |
Gets or sets the target UI control.
|
getset |
Gets or sets the name of the event that will trigger the action.
| ArgumentNullException | TriggerEvent is null. |