Creates a RuntimeProperty T .
Namespace: Spotfire.Dxp.Framework.DocumentModelAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- propertyName
- Type: Spotfire.Dxp.Framework.DocumentModel PropertyName
The name of the property.
- field
- Type: Spotfire.Dxp.Framework.DocumentModel RuntimeProperty T
The field that the RuntimeProperty T will be assigned to. This shall be a readonly field.
- dependencyDeclarer
- Type: Spotfire.Dxp.Framework.DocumentModel StatelessDependencyDeclarer
A delegate that declares the properties that the created RuntimeProperty depends on.
- propertyComputer
- Type: Spotfire.Dxp.Framework.DocumentModel StatelessPropertyComputer T
A delegate that computes the value of the RuntimeProperty.
Type Parameters
- T
- The Type of the values held by the runtime property. This must be an immutable type.
Remarks
The value in the runtime property is invalidated (that is cleared) when any property that the runtime node depends on is changed.
Version Information
See Also