HandlerCollectionAdd(Command, PredicateControlBase, HandlerScope) Method
Creates a {0} and adds it to the handlers collection
Namespace: Firefly.Box.AdvancedAssembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
public Handler Add(
Command triggeringCommand,
Predicate<ControlBase> ifControlMatches,
HandlerScope scope
)
Public Function Add (
triggeringCommand As Command,
ifControlMatches As Predicate(Of ControlBase),
scope As HandlerScope
) As Handler
member Add :
triggeringCommand : Command *
ifControlMatches : Predicate<ControlBase> *
scope : HandlerScope -> Handler
- triggeringCommand Command
- The command that will trigger this handler.
- ifControlMatches PredicateControlBase
- Binds the handler to only be triggered if the current control matches this predicate.
- scope HandlerScope
-
Handler