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

SystemObject
  Spotfire.Dxp.Framework.DocumentModelNode
    Spotfire.Dxp.Framework.DocumentModelUndoableNodeBase
      UndoableNode
        UndoablePropertyNode
          Spotfire.Dxp.Framework.DocumentModelUndoablePropertyT

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

Type Parameters

T
The type of the managed property.

The UndoablePropertyT type exposes the following members.

Methods

  NameDescription
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetService
Override this method to provide services accessible from this node and its descendants. If you can not provide the requested service, you should call base.GetService which relays the request to the owner or to the AnalysisApplication if no owner is set.
(Inherited from Node.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyValue
Gets or sets the value of this UndoablePropertyT.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIServiceProviderGetService
Implements IServiceProvider.
(Inherited from Node.)
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: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference