Creates and binds a view object of the specified viewBaseType type to the specified
model object.
Namespace: Spotfire.Dxp.Framework.ApplicationModelAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- viewBaseType
- Type: System Type
The view type to search for. The returned view's type will be assignable to this type.
- model
- Type: System Object
The model object to be bound to the returned view. Its type will be used when searching for the view. It will be supplied as the argument to the view's constructor.
Return Value
Type: ObjectA view bound to model, or null if none is found. The returned view's type will be assignable to viewBaseType
Exceptions
Exception | Condition |
---|---|
System InvalidOperationException | If the required constructor cannot be found. If the view cannot be constructed for other reasons. |
System Exception | If the view's constructor throws an Exception that exception will be re-thrown. |
Remarks
Version Information
See Also