Delegate ControlTemplateFactory<TControl>

Namespace
Forma
Assembly
Forma.dll
public delegate Control ControlTemplateFactory<in TControl>(TemplateBuildContext context, TControl owner) where TControl : TemplatedControl

Parameters

context TemplateBuildContext
owner TControl

Returns

Control

Type Parameters

TControl

Constructors

ControlTemplateFactory(object, nint)

public ControlTemplateFactory(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(TemplateBuildContext, TControl, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(TemplateBuildContext context, TControl owner, AsyncCallback callback, object @object)

Parameters

context TemplateBuildContext
owner TControl
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual Control EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

Control

Invoke(TemplateBuildContext, TControl)

public virtual Control Invoke(TemplateBuildContext context, TControl owner)

Parameters

context TemplateBuildContext
owner TControl

Returns

Control