InvokeCommandAction Class
Executes a specified ICommand when invoked.
Inheritance Hierarchy
System.Object
DependencyObject
Microsoft.Xaml.Interactions.Core.InvokeCommandAction
Namespace: Microsoft.Xaml.Interactions.Core
Assembly: Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)
Syntax
'Declaration
Public NotInheritable Class InvokeCommandAction _
Inherits DependencyObject _
Implements IAction
public sealed class InvokeCommandAction : DependencyObject,
IAction
public ref class InvokeCommandAction sealed : public DependencyObject,
IAction
[<Sealed>]
type InvokeCommandAction =
class
inherit DependencyObject
interface IAction
end
public final class InvokeCommandAction extends DependencyObject implements IAction
The InvokeCommandAction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InvokeCommandAction | Initializes a new instance of the InvokeCommandAction class. |
Top
Properties
Name | Description | |
---|---|---|
Command | Gets or sets the command this action should invoke. This is a dependency property. | |
CommandParameter | Gets or sets the parameter that is passed to Execute. If this is not set, the parameter from the Execute method will be used. This is an optional dependency property. | |
Dispatcher | (Inherited from DependencyObject.) | |
InputConverter | Gets or sets the converter that is run on the parameter from the Execute method. This is an optional dependency property. | |
InputConverterLanguage | Gets or sets the language that is passed to the Convert method of InputConverter. This is an optional dependency property. | |
InputConverterParameter | Gets or sets the parameter that is passed to the Convert method of InputConverter. This is an optional dependency property. |
Top
Methods
Name | Description | |
---|---|---|
ClearValue | (Inherited from DependencyObject.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute | Executes the action. | |
GetAnimationBaseValue | (Inherited from DependencyObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | (Inherited from DependencyObject.) | |
ReadLocalValue | (Inherited from DependencyObject.) | |
SetValue | (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
CommandParameterProperty | Identifies the CommandParameter dependency property. | |
CommandProperty | Identifies the Command dependency property. | |
InputConverterLanguageProperty | Identifies the InputConverterLanguage dependency property. | |
InputConverterParameterProperty | Identifies the InputConverterParameter dependency property. | |
InputConverterProperty | Identifies the InputConverter dependency property. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.