Click or drag to resize

IGuiFactoryServiceFindAndAttachControlTo(IMVCController, Type) Method

Finds and attaches a suitable control of the expected type to the specified controller.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
Object? FindAndAttachControlTo(
	IMVCController controller,
	Type expectedType
)

Parameters

controller  IMVCController
The controller to attach a control to.
expectedType  Type
The expected control type.

Return Value

Object
The attached control, or null if no suitable control was found.
See Also