In This Article

IEditorViewPointerInputEventSink Interface

Provides the base requirements for an object that can be notified of IEditorView pointer input events.

public interface IEditorViewPointerInputEventSink

Remarks

Objects implementing this event sink interface can be registered as a service with an ISyntaxLanguage using the RegisterService(object, object) method. Any object implementing this interface will be notified automatically when related events occur.

Methods

NotifyPointerEntered(IEditorView, InputPointerEventArgs)

Occurs when the pointer enters the specified IEditorView.

void NotifyPointerEntered(IEditorView view, InputPointerEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e InputPointerEventArgs

The InputPointerEventArgs that contains the event data.

NotifyPointerExited(IEditorView, InputPointerEventArgs)

Occurs when the pointer leaves the specified IEditorView.

void NotifyPointerExited(IEditorView view, InputPointerEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e InputPointerEventArgs

The InputPointerEventArgs that contains the event data.

NotifyPointerHovered(IEditorView, InputPointerEventArgs)

Occurs when the pointer hovers over the specified IEditorView.

void NotifyPointerHovered(IEditorView view, InputPointerEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e InputPointerEventArgs

The InputPointerEventArgs that contains the event data.

NotifyPointerMoved(IEditorView, InputPointerEventArgs)

Occurs when the pointer moves within the specified IEditorView.

void NotifyPointerMoved(IEditorView view, InputPointerEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e InputPointerEventArgs

The InputPointerEventArgs that contains the event data.

NotifyPointerPressed(IEditorView, InputPointerButtonEventArgs)

Occurs when a pointer button is pressed over the specified IEditorView.

void NotifyPointerPressed(IEditorView view, InputPointerButtonEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e InputPointerButtonEventArgs

The InputPointerButtonEventArgs that contains the event data.

NotifyPointerReleased(IEditorView, InputPointerButtonEventArgs)

Occurs when a pointer button is released over the specified IEditorView.

void NotifyPointerReleased(IEditorView view, InputPointerButtonEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e InputPointerButtonEventArgs

The InputPointerButtonEventArgs that contains the event data.

NotifyPointerWheel(IEditorView, InputPointerWheelEventArgs)

Occurs when the pointer wheel is turned over the specified IEditorView.

void NotifyPointerWheel(IEditorView view, InputPointerWheelEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e InputPointerWheelEventArgs

The InputPointerWheelEventArgs that contains the event data.