GUIFactoryServiceGetControllerAndControl(Object, Type) Method |
Gets an
IMVCController for a given document type, and finding the right GUI user control for it.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public IMVCController? GetControllerAndControl(
Object[] args,
Type expectedControllerType
)
Parameters
- args Object
- The argument list. The first element args[0] is the document for which the controller is searched. The following elements are
optional, and are usually the parents of this document.
- expectedControllerType Type
- Type of controller that you expect to return.
Return Value
IMVCControllerThe controller for that document when found. The controller is already initialized with the document. If no controller is found for the document, or if no GUI control is found for the controller, the return value is null.
Implements
IGuiFactoryServiceGetControllerAndControl(Object, Type)See Also