In This Article

ICommandTarget Interface

Provides the base requirements for a command target.

public interface ICommandTarget

Properties

Gets a CommandLinkCollection containing the command links associated with the object.

CommandLinkCollection CommandLinks { get; }

Property Value

CommandLinkCollection:

A CommandLinkCollection containing the command links associated with the object.

ForwardCommandsTo

Gets the ICommandTarget to forward commands to.

ICommandTarget ForwardCommandsTo { get; }

Property Value

ICommandTarget:

The ICommandTarget to forward commands to.

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.