VisualControlState<TVisual, TValue> Class

Spotfire 14.5 API Reference

Note: This API is now obsolete.

Keeps the state and visual model for a custom visual web control. The state is used to preserve data related to layout and rendering of a web control, which is important for web controls since they are disposed after they have been rendered. Typically, this can be used to implement more efficient tooltips. The state is cleared when the model must be re-rendered, that is, when the TVisual's GetRenderTrigger() fires.
Inheritance Hierarchy

System.Object
  Spotfire.Dxp.Application.Extension.CustomControlState
    Spotfire.Dxp.Application.Extension.CustomControlState<TVisual>
      Spotfire.Dxp.Application.Extension.VisualControlState<TVisual, TValue>

Namespace:  Spotfire.Dxp.Application.Extension
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 67.0.20819.4186 (67.0.20819.4186)
Syntax

C#
[ObsoleteAttribute("Use Spotfire.Dxp.Application.Extension.CustomVisualView instead.")]
public sealed class VisualControlState<TVisual, TValue> : CustomControlState<TVisual>
where TVisual : VisualContent
where TValue : class

Type Parameters

TVisual
TValue

The VisualControlState<TVisual, TValue> type exposes the following members.

Constructors

  NameDescription
Public methodVisualControlState<TVisual, TValue>
Constructor for class VisualControlState<TVisual, TValue>.
Top
Properties

  NameDescription
Public propertyEventManager
Gets an ExternalEventManager that can be used to subscribe to events from the document.
(Inherited from CustomControlState<TNode>.)
Public propertyNode
Gets the DocumentNode.
(Inherited from CustomControlState<TNode>.)
Top
Methods

  NameDescription
Public methodDispose()
Implements the IDisposable pattern.
(Inherited from CustomControlState<TNode>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetValue
Sets the state value.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Tries to get the state value.
Top
Version Information

Obsolete (compiler warning) in 14.5
Obsolete (compiler warning) in 14.4
Obsolete (compiler warning) in 14.3
Obsolete (compiler warning) in 14.2
Obsolete (compiler warning) in 14.1
Obsolete (compiler warning) in 14.0
Obsolete (compiler warning) in 12.5
Obsolete (compiler warning) in 12.4
Obsolete (compiler warning) in 12.3
Obsolete (compiler warning) in 12.2
Obsolete (compiler warning) in 12.1
Obsolete (compiler warning) in 12.0
Obsolete (compiler warning) in 11.8
See Also

Reference