UndoableCrossReferencePropertyT Class TIBCO Spotfire 7.6 API Reference
Manages a property that does not own its value. 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.DocumentModelUndoableCrossReferencePropertyT

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 class UndoableCrossReferenceProperty<T> : UndoablePropertyNode, 
	IUndoableNodeCrossReferenceProperty, IUndoableNodeBaseCrossReference, IMutableProperty<T>, IMutableProperty
where T : DocumentNode

Type Parameters

T
The type of the DocumentNode pointed to by this UndoableCrossReferenceProperty.

The UndoableCrossReferencePropertyT 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 the managed node. Assignment of objects with the same value as the current value, will be ignored.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIServiceProviderGetService
Implements IServiceProvider.
(Inherited from Node.)
Top
Remarks

The value of an UndoableCrossReferenceProperty must be a class deriving from DocumentNode or null. An UndoableCrossReferenceProperty does not own its value, it only points to a DocumentNode that is owned somewhere else in the document. Thus the value of an UndoableCrossReferenceProperty is not part sub tree in which the UndoableCrossReferenceProperty lives.

When the DocumentNode pointed to by an UndoableCrossReferenceProperty is detached, the value of the UndoableCrossReferenceProperty is set to null by the document model framework. This action is undoable and generates an event.

Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference