Creates a Trigger that fires and dynamically re-computes a nested Trigger
when the contents of an UndoableProperty T or
UndoableCrossReferenceProperty T changes.
Namespace: Spotfire.Dxp.Framework.DocumentModelAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- node
- Type: Spotfire.Dxp.Framework.DocumentModel DocumentNode
The node containing the mutable property.
- propertyName
- Type: Spotfire.Dxp.Framework.DocumentModel PropertyName
PropertyName of the mutable property. This must be an UndoableProperty or an UndoableCrossReferenceProperty owned by the specified node.
- declarer
- Type: Spotfire.Dxp.Framework.DocumentModel ReferenceTriggerDeclarer T
The delegate used to declare triggers on the node owned by or pointed to by the specified node and propertyName. The MutablePropertyTrigger fires when one of the trigger returned by this delegate fires or when the property specified node and propertyName is changed. This delegate is re-evaluated each time such a change occurs.NOTE 1: The declarer delegate shall not modify the document.
NOTE 2: The declarer delegate shall not have any free variables. It must build its trigger by only refering to its argument node. Failure to follow this pattern may result in memory leaks.
Type Parameters
- T
Return Value
Type: TriggerThe trigger.
Version Information
See Also