IOwnedCommand Interface
A command whose state is determined by some "owner" who in turn is responsible for raising the CanExecuteChanged event of the ICommand.
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Interface IOwnedCommand _
Inherits ICommand
public interface IOwnedCommand : ICommand
public interface class IOwnedCommand : ICommand
type IOwnedCommand =
interface
interface ICommand
end
public interface IOwnedCommand extends ICommand
The IOwnedCommand type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanExecute | Defines the method that determines whether the command can execute in its current state. (Inherited from ICommand.) | |
Execute | Defines the method to be called when the command is invoked. (Inherited from ICommand.) | |
RaiseCanExecuteChanged |
Top
Events
Name | Description | |
---|---|---|
CanExecuteChanged | Occurs when changes occur that affect whether or not the command should execute. (Inherited from ICommand.) |
Top