Click or drag to resize

GUIFactoryServiceFindAndAttachControlTo(IMVCController, Type) Method

Searchs for a appropriate control for a given controller with restriction to a given type. The control is not (!) attached to the controller. You have to do this manually.

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

Parameters

controller  IMVCController
The controller a control is searched for.
expectedType  Type
The expected type of the control.

Return Value

Object
The control with the type provided as expectedType argument, or null if no such controller was found.

Implements

IGuiFactoryServiceFindAndAttachControlTo(IMVCController, Type)
See Also