Click or drag to resize

IGuiFactoryServiceGetRequiredControllerAndControlT Method

Gets the required controller and control. Throws an exception if either controller or control could not be retrieved.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
T GetRequiredControllerAndControl<T>(
	Object arg,
	params Object?[]? args
)
where T : class, IMVCController

Parameters

arg  Object
The first argument. Always required.
args  Object
Additional arguments.

Type Parameters

T
The type of expected controller.

Return Value

T
The controller for the provided arguments. A control is already set.
See Also