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

System Object
  Spotfire.Dxp.Framework.DocumentModel Node
    UndoableNode
      UndoablePropertyNode
        Spotfire.Dxp.Framework.DocumentModel UndoableProperty T 

Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

[SerializableAttribute]
public sealed class UndoableProperty<T> : UndoablePropertyNode, 
	IUndoableProperty<T>, IMutableProperty<T>, IMutableProperty
Type Parameters

T
The type of the managed property.
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 UndoableProperty T  is created.

See Also