Delegate CreateContextMenueDelegate
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
Handler for CreateContextMenueEvent.
public delegate void CreateContextMenueDelegate(IGeoObjectShowProperty sender, List<MenuWithHandler> toManipulate)
Parameters
senderIGeoObjectShowPropertythe property entry whose context menu is being built; GetGeoObject() gives the object it shows
toManipulateList<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
Methods
BeginInvoke(IGeoObjectShowProperty, List<MenuWithHandler>, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(IGeoObjectShowProperty sender, List<MenuWithHandler> toManipulate, AsyncCallback callback, object @object)
Parameters
senderIGeoObjectShowPropertytoManipulateList<MenuWithHandler>callbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(IGeoObjectShowProperty, List<MenuWithHandler>)
public virtual void Invoke(IGeoObjectShowProperty sender, List<MenuWithHandler> toManipulate)
Parameters
senderIGeoObjectShowPropertytoManipulateList<MenuWithHandler>