Click or drag to resize

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.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
IMVCController? 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

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