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
Spotfire.Dxp.Application.ExtensionCustomControlState
Spotfire.Dxp.Application.ExtensionCustomControlStateTVisual
Spotfire.Dxp.Application.ExtensionVisualControlStateTVisual, TValue
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
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 VisualControlStateTVisual, TValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VisualControlStateTVisual, TValue |
Constructor for class VisualControlStateTVisual, TValue.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Implements the IDisposable pattern.
(Inherited from CustomControlStateTNode.) | |
Dispose(Boolean) |
Implements the IDisposable pattern.
(Inherited from CustomControlStateTNode.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetValue |
Sets the state value.
| |
TryGetValue |
Tries to get the state value.
|
Properties
Name | Description | |
---|---|---|
EventManager |
Gets an ExternalEventManager that can be used to subscribe
to events from the document.
(Inherited from CustomControlStateTNode.) | |
Node |
Gets the DocumentNode.
(Inherited from CustomControlStateTNode.) |
Version Information
Obsolete (compiler warning) in 7.6
Obsolete (compiler warning) in 7.5
See Also