CommandBindingsCollectionAdd Method

Overload List

Add(T) Adds an object to the end of the VirtualCollectionT.
Calls the overridable InsertItem method.
Add(Action, IDictionaryString, Object) Creates a binding with an internally created disposable SimpleCommand for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
Add(ActionICommandState, IDictionaryString, Object) Creates a binding with an internally created disposable SimpleCommand for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
Add(ICommand, IDictionaryString, Object, Boolean) Creates a binding for a command without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
Add(ICommand, Object, String, Object) Creates a binding for a command using the specified source, eventName and targets. The created binding will be added to this CommandBindingsCollection.
Add(ICommand, Object, String, IDictionaryString, Object, Object) Creates a binding for a command using the specified source, eventName and targets as well as the optionally provided initial state of the binding. The created binding will be added to this CommandBindingsCollection.
AddTTarget(ActionTTarget, IDictionaryString, Object) Creates a binding with an internally created disposable TargetedCommandTTarget for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs(ActionICommandSourceTEventArgs, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareCommandTEventArgs for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs(ActionICommandSourceTEventArgs, ICommandState, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareCommandTEventArgs for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
AddTTarget(ActionICommandState, TTarget, IDictionaryString, Object) Creates a binding with an internally created disposable TargetedCommandTTarget for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
AddTParam(ActionTParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable SimpleCommandTParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
AddTParam(ActionICommandState, TParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable SimpleCommandTParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs, TTarget(ActionICommandSourceTEventArgs, TTarget, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareTargetedCommandTEventArgs, TTarget for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs, TTarget(ActionICommandSourceTEventArgs, ICommandState, TTarget, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareTargetedCommandTEventArgs, TTarget for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
AddTTarget, TParam(ActionTTarget, TParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable TargetedCommandTTarget, TParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs, TParam(ActionICommandSourceTEventArgs, TParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareCommandTEventArgs, TParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs, TParam(ActionICommandSourceTEventArgs, ICommandState, TParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareCommandTEventArgs, TParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. The created binding will be added to this CommandBindingsCollection.
AddTTarget, TParam(ActionICommandState, TTarget, TParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable TargetedCommandTTarget, TParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs, TTarget, TParam(ActionICommandSourceTEventArgs, TTarget, TParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareTargetedCommandTEventArgs, TTarget, TParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.
AddTEventArgs, TTarget, TParam(ActionICommandSourceTEventArgs, ICommandState, TTarget, TParam, FuncTParam, IDictionaryString, Object) Creates a binding with an internally created disposable SourceAwareTargetedCommandTEventArgs, TTarget, TParam for the specified callback without any sources and targets. At least one source must be added by the ICommandBinding.AddSource method to make the command invokable. Targets can be added by the ICommandBinding.AddTarget method. The created binding will be added to this CommandBindingsCollection.

See Also