KGy SOFT

ICommandBindingAddTarget Method (Object)

KGy SOFT Core Libraries Help
Adds the target to this ICommandBinding instance. The underlying ICommand will be invoked for each added target. If no targets are added the command will be invoked with a  target.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.3.0
Syntax

ICommandBinding AddTarget(
	Object target
)

Parameters

target
Type: SystemObject
The target of the command to add. If the command is a TargetedCommandTTarget or SourceAwareTargetedCommandTEventArgs, TTarget, then the type of target must match TTarget.

Return Value

Type: ICommandBinding
This ICommandBinding instance to provide fluent initialization.
See Also

Reference