Table of Contents

Interface ICommandSource

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

An interface for classes that know how to invoke a Command.

public interface ICommandSource

Properties

Command

The command that will be executed when the class is "invoked." Classes that implement this interface should enable or disable based on the command's CanExecute return value. The property may be implemented as read-write if desired.

CommandParameter

The parameter that will be passed to the command when executing the command. The property may be implemented as read-write if desired.

CommandTarget

An element that an implementor may wish to target as the destination for the command. The property may be implemented as read-write if desired.