In This Article

ICommandTarget Interface

Provides the base requirements for a command target.

public interface ICommandTarget

Properties

A CommandLinkCollection containing the command links associated with the object.

CommandLinkCollection CommandLinks { get; }

Property Value

CommandLinkCollection

ForwardCommandsTo

The ICommandTarget to forward commands to.

ICommandTarget? ForwardCommandsTo { get; }

Property Value

ICommandTarget

Methods

RaiseCommand(Command)

Raises the specified Command.

bool RaiseCommand(Command command)
Parameter Type Description
command Command

The Command to raise.

Returns

bool:

true if the Command was handled; otherwise, false.

Extension Methods