IGuiFactoryServiceGetControllerAndControl(Object, Type, Type, UseDocument) Method |
Gets a controller together with an attached control while overriding the type of the first argument.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
SyntaxIMVCController? GetControllerAndControl(
Object[] args,
Type overrideArg0Type,
Type expectedControllerType,
UseDocument copyDocument
)
Parameters
- args Object
- The controller creation arguments.
- overrideArg0Type Type
- The override type for the first argument.
- expectedControllerType Type
- The expected controller type.
- copyDocument UseDocument
- Specifies how the document should be used.
Return Value
IMVCControllerThe controller with an attached control, or
if no suitable controller was found.
See Also