[This is preliminary documentation and is subject to change.]

Creates a {0} and adds it to the handlers collection

Namespace:  Firefly.Box.Advanced
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: 3.4.23.6473 (3.4.23.6473)

Syntax

C#
public Handler Add(
	Command triggeringCommand,
	Predicate<ControlBase> ifControlMatches
)
Visual Basic (Declaration)
Public Function Add ( _
	triggeringCommand As Command, _
	ifControlMatches As Predicate(Of ControlBase) _
) As Handler
Visual C++
public:
Handler^ Add(
	Command^ triggeringCommand, 
	Predicate<ControlBase^>^ ifControlMatches
)

Parameters

triggeringCommand
Type: Firefly.Box..::.Command
The command that will trigger this handler.
ifControlMatches
Type: System..::.Predicate<(Of <(ControlBase>)>)
Binds the handler to only be triggered if the current control matches this predicate.

See Also