Table of Contents

Delegate ModifyWithMouseDelegate

Namespace
CADability.UserInterface
Assembly
CADability.dll

Called with startModifying true when the user presses the mouse button to modify a value (e.g. a point) with the mouse; sender identifies the property, so that the value can be changed without knowing the object. Called with startModifying false when the user types into the edit field instead: the mouse action for this value must then be cancelled.

public delegate void ModifyWithMouseDelegate(IPropertyEntry sender, bool startModifying)

Parameters

sender IPropertyEntry

the property entry whose value is modified

startModifying bool

true: the modification with the mouse starts, false: it is cancelled

Constructors

ModifyWithMouseDelegate(object, nint)

public ModifyWithMouseDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IPropertyEntry, bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IPropertyEntry sender, bool startModifying, AsyncCallback callback, object @object)

Parameters

sender IPropertyEntry
startModifying bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(IPropertyEntry, bool)

public virtual void Invoke(IPropertyEntry sender, bool startModifying)

Parameters

sender IPropertyEntry
startModifying bool