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