Click or drag to resize

CommandSourceFactoryTAttach Method

Attaches the specified command. The last command attached will become the active command, while the previous command will be pushed on a stack.

Namespace: TomsToolbox.Wpf.Composition
Assembly: TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public T Attach(
	Object? context,
	ICommand command
)

Parameters

context  Object
The context.
command  ICommand
The command.

Return Value

T
The CommandSource associated with the context
See Also