Click or drag to resize

IGuiFactoryServiceGetControllerAndControl(Object, Type, UseDocument) Method

Gets a controller together with an attached control for the specified arguments and document usage mode.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
IMVCController? GetControllerAndControl(
	Object[] args,
	Type expectedControllerType,
	UseDocument copyDocument
)

Parameters

args  Object
The controller creation arguments.
expectedControllerType  Type
The expected controller type.
copyDocument  UseDocument
Specifies how the document should be used.

Return Value

IMVCController
The controller with an attached control, or if no suitable controller was found.
See Also