ReadOnlyService
ExtensionRegistry
Spotfire.Dxp.Framework.ApplicationModelViewRegistry
Namespace: Spotfire.Dxp.Framework.ApplicationModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
public class ViewRegistry : ExtensionRegistry
The ViewRegistry type exposes the following members.
Name | Description | |
---|---|---|
CreateView(Type, Object) |
Creates and binds a view object of the specified viewBaseType type to the specified
model object.
| |
CreateViewT(Object) |
Creates and binds a view object of type T to the specified
model object.
| |
CreateViewT(Object, Type) |
Creates and binds a view object of type T to the specified
model object. The specified modelType is used
to determine the type of the specified model object when the view
type is looked up.
| |
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.) |
The ViewRegistry offers support for creation of view object given a model object and a view type. When a view object is created, the ViewRegistry passes the model object as an argument to the constructor and thus allows the view object to bind to the model object. The ViewRegistry does not keep track of the view created instances.
The ViewRegistry is typically used by view object to create cildren views of model object deeper down in the model structure. For instance, the view object that displays a page in the Windows.Forms view uses the ViewRegistry to create Windows.Forms.Control-views of the visualizations on the page.
The ViewRegistry is available as a service.