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
senderIPropertyEntrythe property entry whose value is modified
startModifyingbooltrue: the modification with the mouse starts, false: it is cancelled
Constructors
ModifyWithMouseDelegate(object, nint)
public ModifyWithMouseDelegate(object @object, nint method)
Parameters
Methods
BeginInvoke(IPropertyEntry, bool, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(IPropertyEntry sender, bool startModifying, AsyncCallback callback, object @object)
Parameters
senderIPropertyEntrystartModifyingboolcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(IPropertyEntry, bool)
public virtual void Invoke(IPropertyEntry sender, bool startModifying)
Parameters
senderIPropertyEntrystartModifyingbool