Creates a Trigger that fires and dynamically re-computes a nested Trigger
when the contents of an UndoablePropertyT or
UndoableCrossReferencePropertyT changes.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public static Trigger CreateMutablePropertyTrigger<T>( DocumentNode node, PropertyName propertyName, params PropertyName[] triggeringPropertyNames ) where T : DocumentNode
Parameters
- node
- Type: Spotfire.Dxp.Framework.DocumentModelDocumentNode
The node containing the mutable property. - propertyName
- Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
PropertyName of the mutable property. This must be an UndoableProperty or an UndoableCrossReferenceProperty owned by the specified node. - triggeringPropertyNames
- Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
The PropertyNames of the properties in the node referenced by the specified node and propertyName that shall fire the MutablePropertyTrigger.
Type Parameters
- T
- The type of the referenced node.
Return Value
Type: TriggerRemarks
CreateMutablePropertyTrigger<T>(node, propertyName, delegate(T referencedNode) { return Trigger.CreatePropertyTrigger(referencedNode, triggeringPropertyNames); });
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also