UndoablePropertyT Class

Spotfire 14.3 API Reference
Manages a property that owns its value and where assignments to the property will be recorded as undoable commands.
Inheritance Hierarchy

SystemObject
  Node
    UndoableNodeBase
      UndoableNode
        UndoablePropertyNode
          Spotfire.Dxp.Framework.DocumentModelUndoablePropertyT

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#
[SerializableAttribute]
public sealed class UndoableProperty<T> : UndoablePropertyNode

Type Parameters

T
The type of the managed property.

The UndoablePropertyT type exposes the following members.

Properties

  NameDescription
Public propertyValue
Gets or sets the value of this UndoablePropertyT.
Top
Methods

  NameDescription
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The UndoableProperty class can be used for classes deriving from DocumentNode and basic values like strings and ints etc. A DocumentNode held by an UndoableProperty is owned and thus part of the sub tree in which the UndoableProperty lives.

The content type for the property must be serializable. If this is not the case an InvalidOperationException will be thrown when an instance of the UndoablePropertyT is created.

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

Reference