Table of Contents

Delegate CreateContextMenueDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll
public delegate void CreateContextMenueDelegate(IGeoObjectShowProperty sender, List<MenuWithHandler> toManipulate)

Parameters

sender IGeoObjectShowProperty

the property entry whose context menu is being built; GetGeoObject() gives the object it shows

toManipulate List<MenuWithHandler>

the items of the context menu so far; the handler may add, remove or reorder items

Constructors

CreateContextMenueDelegate(object, nint)

public CreateContextMenueDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IGeoObjectShowProperty, List<MenuWithHandler>, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IGeoObjectShowProperty sender, List<MenuWithHandler> toManipulate, AsyncCallback callback, object @object)

Parameters

sender IGeoObjectShowProperty
toManipulate List<MenuWithHandler>
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(IGeoObjectShowProperty, List<MenuWithHandler>)

public virtual void Invoke(IGeoObjectShowProperty sender, List<MenuWithHandler> toManipulate)

Parameters

sender IGeoObjectShowProperty
toManipulate List<MenuWithHandler>