MouseCallback

public abstract class MouseCallback
Used for intercepting mouse events in the Rhino views.

Properties

Enabled

#Since v5.0
public bool Enabled { get; set; }

Methods

OnEndMouseDown

#
protected virtual void OnEndMouseDown(MouseCallbackEventArgs e)
Called at the end of handling of a mouse down event in Rhino. All of the default Rhino mouse down functionality has already been executed unless a MouseCallback has set Cancel to true for the event arguments. You can tell if this is the case by inspecting the Cancel property in the event arguments parameter. Base class implementation of this function does nothing
e (MouseCallbackEventArgs)

OnEndMouseMove

#
protected virtual void OnEndMouseMove(MouseCallbackEventArgs e)
Called at the end of handling of a mouse move event in Rhino. All of the default Rhino mouse move functionality has already been executed unless a MouseCallback has set Cancel to true for the event arguments. You can tell if this is the case by inspecting the Cancel property in the event arguments parameter. Base class implementation of this function does nothing.
e (MouseCallbackEventArgs)

OnEndMouseUp

#
protected virtual void OnEndMouseUp(MouseCallbackEventArgs e)
Called at the end of handling of a mouse up event in Rhino. All of the default Rhino mouse down functionality has already been executed unless a MouseCallback has set Cancel to true for the event arguments. You can tell if this is the case by inspecting the Cancel property in the event arguments parameter. Base class implementation of this function does nothing
e (MouseCallbackEventArgs)

OnMouseDoubleClick

#
protected virtual void OnMouseDoubleClick(MouseCallbackEventArgs e)
e (MouseCallbackEventArgs)

OnMouseDown

#
protected virtual void OnMouseDown(MouseCallbackEventArgs e)
Called at the beginning of handling of a mouse down event in Rhino. If you don't want the default Rhino functionality to be run, then set Cancel to true on the passed in event arguments Base class implementation of this function does nothing
e (MouseCallbackEventArgs)

OnMouseEnter

#
protected virtual void OnMouseEnter(MouseCallbackEventArgs e)
e (MouseCallbackEventArgs)

OnMouseHover

#
protected virtual void OnMouseHover(MouseCallbackEventArgs e)
e (MouseCallbackEventArgs)

OnMouseLeave

#
protected virtual void OnMouseLeave(MouseCallbackEventArgs e)
e (MouseCallbackEventArgs)

OnMouseMove

#
protected virtual void OnMouseMove(MouseCallbackEventArgs e)
Called at the beginning of handling of a mouse move event in Rhino. If you don't want the default Rhino functionality to be run, then set Cancel to true on the passed in event arguments. Base class implementation of this function does nothing.
e (MouseCallbackEventArgs)

OnMouseUp

#
protected virtual void OnMouseUp(MouseCallbackEventArgs e)
Called at the beginning of handling of a mouse up event in Rhino. If you don't want the default Rhino functionality to be run, then set Cancel to true on the passed in event arguments Base class implementation of this function does nothing
e (MouseCallbackEventArgs)