| CommandSourceFactoryTReplace Method |
Replaces the specified old command with the new command, preserving it's position in the command stack.
Namespace:
TomsToolbox.Wpf.Composition
Assembly:
TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax Exceptions Exception | Condition |
---|
ArgumentException | Can't replace a command that has not been attached before;oldCommand |
See Also