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