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: 25.11.10401.3615 (25.11.10401.3615)
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
See Also