共用方式為


MouseProcessorBase Class

Provides a base implementation for mouse bindings, so that clients can override only the methods they need.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.MouseProcessorBase

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'宣告
Public MustInherit Class MouseProcessorBase _
    Implements IMouseProcessor
public abstract class MouseProcessorBase : IMouseProcessor
public ref class MouseProcessorBase abstract : IMouseProcessor
[<AbstractClass>]
type MouseProcessorBase =  
    class
        interface IMouseProcessor
    end
public abstract class MouseProcessorBase implements IMouseProcessor

The MouseProcessorBase type exposes the following members.

Constructors

  Name Description
Protected method MouseProcessorBase Initializes a new instance of MouseProcessorBase.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PostprocessDragEnter Handles the drag enter event after the default handler.
Public method PostprocessDragLeave Handles the drag leave event after the default handler.
Public method PostprocessDragOver Handles the drag over event after the default handler.
Public method PostprocessDrop Handles the drop event after the default handler.
Public method PostprocessGiveFeedback Handles the feedback event after the default handler.
Public method PostprocessMouseDown Handles the mouse down event after the default handler.
Public method PostprocessMouseEnter Handles the mouse enter event after the default handler.
Public method PostprocessMouseLeave Handles the mouse leave event after the default handler.
Public method PostprocessMouseLeftButtonDown Handles the mouse left button down event after the default handler.
Public method PostprocessMouseLeftButtonUp Handles the mouse left button up event after the default handler.
Public method PostprocessMouseMove Handles the mouse move event after the default handler.
Public method PostprocessMouseRightButtonDown Handles the mouse right button down event after the default handler.
Public method PostprocessMouseRightButtonUp Handles the mouse right button up event after the default handler.
Public method PostprocessMouseUp Handles the mouse up event after the default handler.
Public method PostprocessMouseWheel Handles the mouse wheel event after the default handler.
Public method PostprocessQueryContinueDrag Handles the query continue drag event after the default handler.
Public method PreprocessDragEnter Handles the drag enter event before the default handler.
Public method PreprocessDragLeave Handles the drag leave event before the default handler.
Public method PreprocessDragOver Handles the drag over event before the default handler.
Public method PreprocessDrop Handles the drop event before the default handler.
Public method PreprocessGiveFeedback Handles the feedback event before the default handler.
Public method PreprocessMouseDown Handles the mouse down event before the default handler.
Public method PreprocessMouseEnter Handles the mouse enter event before the default handler.
Public method PreprocessMouseLeave Handles the mouse leave event before the default handler.
Public method PreprocessMouseLeftButtonDown Handles the mouse left button down event before the default handler.
Public method PreprocessMouseLeftButtonUp Handles the mouse left button up event before the default handler.
Public method PreprocessMouseMove Handles the mouse move event before the default handler.
Public method PreprocessMouseRightButtonDown Handles the mouse right button down event before the default handler.
Public method PreprocessMouseRightButtonUp Handles the mouse right button up event before the default handler.
Public method PreprocessMouseUp Handles the mouse up event before the default handler.
Public method PreprocessMouseWheel Handles the mouse wheel event before the default handler.
Public method PreprocessQueryContinueDrag Handles the query continue drag event before the default handler.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace