Creates an UndoablePropertyT and assigns it to the specified field.
The UndoablePropertyT will have the specified propertyName and initialValue.
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#
protected void CreateProperty<T>( PropertyName propertyName, out UndoableProperty<T> field, T initialValue )
Parameters
- propertyName
- Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
The PropertyName used by the UndoablePropertyT. - field
- Type: Spotfire.Dxp.Framework.DocumentModelUndoablePropertyT
The field that the UndoablePropertyT will be assigned to. This shall be a readonly field. - initialValue
- Type: T
The initial value held by the UndoablePropertyT.
Type Parameters
- T
- The type of the value held by the UndoablePropertyT.
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