HandlerCollectionAdd(Command, PredicateControlBase) 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
)
Public Function Add (
triggeringCommand As Command,
ifControlMatches As Predicate(Of ControlBase)
) As Handler
member Add :
triggeringCommand : Command *
ifControlMatches : Predicate<ControlBase> -> 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.
Handler