Creates an UndoableCrossReferencePropertyT and assigns it to the specified field.
The UndoableCrossReferencePropertyT will have the specified propertyName and initialValue.
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
Syntax
C#
protected void CreateProperty<TNode>( PropertyName propertyName, out UndoableCrossReferenceProperty<TNode> field, TNode initialValue ) where TNode : DocumentNode
Parameters
- propertyName
- Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
The PropertyName used by the UndoableCrossReferencePropertyT. - field
- Type: Spotfire.Dxp.Framework.DocumentModelUndoableCrossReferencePropertyTNode
The field that the UndoableCrossReferencePropertyT will be assigned to. This shall be a readonly field. - initialValue
- Type: TNode
The initial value held by the UndoableCrossReferencePropertyT.
Type Parameters
- TNode
- The type of the value held by the UndoableCrossReferencePropertyT. This type must derive from DocumentNode.
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also