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
Public method CanExecute Defines the method that determines whether the command can execute in its current state. (Inherited from ICommand.)
Public method Execute Defines the method to be called when the command is invoked. (Inherited from ICommand.)
Public method RaiseCanExecuteChanged

Top

Events

  Name Description
Public event CanExecuteChanged Occurs when changes occur that affect whether or not the command should execute. (Inherited from ICommand.)

Top

See Also

Reference

Microsoft.TeamFoundation.MVVM Namespace