Share

PreviewControl Events

The PreviewControl type exposes the following members.

Events

 NameDescription
Public eventContextMenuClosingOccurs just before any context menu on the element is closed.
(Inherited from FrameworkElement)
Public eventContextMenuOpeningOccurs when any context menu on the element is opened.
(Inherited from FrameworkElement)
Public eventDataContextChangedOccurs when the data context for this element changes.
(Inherited from FrameworkElement)
Public eventDragEnterOccurs when the input system reports an underlying drag event with this element as the drag target.
(Inherited from UIElement)
Public eventDragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin.
(Inherited from UIElement)
Public eventDragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target.
(Inherited from UIElement)
Public eventDropOccurs when the input system reports an underlying drop event with this element as the drop target.
(Inherited from UIElement)
Public eventFocusableChangedOccurs when the value of the Focusable property changes.
(Inherited from UIElement)
Public eventGiveFeedbackOccurs when the input system reports an underlying drag-and-drop event that involves this element.
(Inherited from UIElement)
Public eventGotFocusOccurs when this element gets logical focus.
(Inherited from UIElement)
Public eventGotKeyboardFocusOccurs when the keyboard is focused on this element.
(Inherited from UIElement)
Public eventGotMouseCaptureOccurs when this element captures the mouse.
(Inherited from UIElement)
Public eventGotStylusCaptureOccurs when this element captures the stylus.
(Inherited from UIElement)
Public eventGotTouchCaptureOccurs when a touch is captured to this element.
(Inherited from UIElement)
Public eventInitializedOccurs when this FrameworkElement is initialized. This event coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true.
(Inherited from FrameworkElement)
Public eventIsEnabledChangedOccurs when the value of the IsEnabled property on this element changes.
(Inherited from UIElement)
Public eventIsHitTestVisibleChangedOccurs when the value of the IsHitTestVisible dependency property changes on this element.
(Inherited from UIElement)
Public eventIsKeyboardFocusedChangedOccurs when the value of the IsKeyboardFocused property changes on this element.
(Inherited from UIElement)
Public eventIsKeyboardFocusWithinChangedOccurs when the value of the IsKeyboardFocusWithin property changes on this element.
(Inherited from UIElement)
Public eventIsMouseCapturedChangedOccurs when the value of the IsMouseCaptured property changes on this element.
(Inherited from UIElement)
Public eventIsMouseCaptureWithinChangedOccurs when the value of the IsMouseCaptureWithinProperty changes on this element.
(Inherited from UIElement)
Public eventIsMouseDirectlyOverChangedOccurs when the value of the IsMouseDirectlyOver property changes on this element.
(Inherited from UIElement)
Public eventIsStylusCapturedChangedOccurs when the value of the IsStylusCaptured property changes on this element.
(Inherited from UIElement)
Public eventIsStylusCaptureWithinChangedOccurs when the value of the IsStylusCaptureWithin property changes on this element.
(Inherited from UIElement)
Public eventIsStylusDirectlyOverChangedOccurs when the value of the IsStylusDirectlyOver property changes on this element.
(Inherited from UIElement)
Public eventIsVisibleChangedOccurs when the value of the IsVisible property changes on this element.
(Inherited from UIElement)
Public eventKeyDownOccurs when a key is pressed while focus is on this element.
(Inherited from UIElement)
Public eventKeyUpOccurs when a key is released while focus is on this element.
(Inherited from UIElement)
Public eventLayoutUpdatedOccurs when the layout of the various visual elements associated with the current Dispatcher changes.
(Inherited from UIElement)
Public eventLoadedOccurs when the element is laid out, rendered, and ready for interaction.
(Inherited from FrameworkElement)
Public eventLostFocusOccurs when this element loses logical focus.
(Inherited from UIElement)
Public eventLostKeyboardFocusOccurs when the keyboard is no longer focused on this element.
(Inherited from UIElement)
Public eventLostMouseCaptureOccurs when this element loses mouse capture.
(Inherited from UIElement)
Public eventLostStylusCaptureOccurs when this element loses stylus capture.
(Inherited from UIElement)
Public eventLostTouchCaptureOccurs when this element loses a touch capture.
(Inherited from UIElement)
Public eventManipulationBoundaryFeedbackOccurs when the manipulation encounters a boundary.
(Inherited from UIElement)
Public eventManipulationCompletedOccurs when a manipulation and inertia on the UIElement object is complete.
(Inherited from UIElement)
Public eventManipulationDeltaOccurs when the input device changes position during a manipulation.
(Inherited from UIElement)
Public eventManipulationInertiaStartingOccurs when the input device loses contact with the UIElement object during a manipulation and inertia begins.
(Inherited from UIElement)
Public eventManipulationStartedOccurs when an input device begins a manipulation on the UIElement object.
(Inherited from UIElement)
Public eventManipulationStartingOccurs when the manipulation processor is first created.
(Inherited from UIElement)
Public eventMouseDoubleClickOccurs when a mouse button is clicked two or more times.
(Inherited from Control)
Public eventMouseDownOccurs when any mouse button is pressed while the pointer is over this element.
(Inherited from UIElement)
Public eventMouseEnterOccurs when the mouse pointer enters the bounds of this element.
(Inherited from UIElement)
Public eventMouseLeaveOccurs when the mouse pointer leaves the bounds of this element.
(Inherited from UIElement)
Public eventMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventMouseMoveOccurs when the mouse pointer moves while over this element.
(Inherited from UIElement)
Public eventMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventMouseUpOccurs when any mouse button is released over this element.
(Inherited from UIElement)
Public eventMouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewDragEnterOccurs when the input system reports an underlying drag event with this element as the drag target.
(Inherited from UIElement)
Public eventPreviewDragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin.
(Inherited from UIElement)
Public eventPreviewDragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target.
(Inherited from UIElement)
Public eventPreviewDropOccurs when the input system reports an underlying drop event with this element as the drop target.
(Inherited from UIElement)
Public eventPreviewGiveFeedbackOccurs when a drag-and-drop operation is started.
(Inherited from UIElement)
Public eventPreviewGotKeyboardFocusOccurs when the keyboard is focused on this element.
(Inherited from UIElement)
Public eventPreviewKeyDownOccurs when a key is pressed while focus is on this element.
(Inherited from UIElement)
Public eventPreviewKeyUpOccurs when a key is released while focus is on this element.
(Inherited from UIElement)
Public eventPreviewLostKeyboardFocusOccurs when the keyboard is no longer focused on this element.
(Inherited from UIElement)
Public eventPreviewMouseDoubleClickOccurs when a user clicks the mouse button two or more times.
(Inherited from Control)
Public eventPreviewMouseDownOccurs when any mouse button is pressed while the pointer is over this element.
(Inherited from UIElement)
Public eventPreviewMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewMouseMoveOccurs when the mouse pointer moves while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewMouseUpOccurs when any mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewMouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element.
(Inherited from UIElement)
Public eventPreviewQueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.
(Inherited from UIElement)
Public eventPreviewStylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element.
(Inherited from UIElement)
Public eventPreviewStylusButtonUpOccurs when the stylus button is released while the pointer is over this element.
(Inherited from UIElement)
Public eventPreviewStylusDownOccurs when the stylus touches the digitizer while it is over this element.
(Inherited from UIElement)
Public eventPreviewStylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer.
(Inherited from UIElement)
Public eventPreviewStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element.
(Inherited from UIElement)
Public eventPreviewStylusMoveOccurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead.
(Inherited from UIElement)
Public eventPreviewStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected.
(Inherited from UIElement)
Public eventPreviewStylusSystemGestureOccurs when a user performs one of several stylus gestures.
(Inherited from UIElement)
Public eventPreviewStylusUpOccurs when the user raises the stylus off the digitizer while the stylus is over this element.
(Inherited from UIElement)
Public eventPreviewTextInputOccurs when this element gets text in a device-independent manner.
(Inherited from UIElement)
Public eventPreviewTouchDownOccurs when a finger touches the screen while the finger is over this element.
(Inherited from UIElement)
Public eventPreviewTouchMoveOccurs when a finger moves on the screen while the finger is over this element.
(Inherited from UIElement)
Public eventPreviewTouchUpOccurs when a finger is raised off of the screen while the finger is over this element.
(Inherited from UIElement)
Public eventQueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.
(Inherited from UIElement)
Public eventQueryCursorOccurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position.
(Inherited from UIElement)
Public eventRequestBringIntoViewOccurs when BringIntoView(Rect) is called on this element.
(Inherited from FrameworkElement)
Public eventSizeChangedOccurs when either the ActualHeight or the ActualWidth properties change value on this element.
(Inherited from FrameworkElement)
Public eventSourceUpdatedOccurs when the source value changes for any existing property binding on this element.
(Inherited from FrameworkElement)
Public eventStylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element.
(Inherited from UIElement)
Public eventStylusButtonUpOccurs when the stylus button is released while the pointer is over this element.
(Inherited from UIElement)
Public eventStylusDownOccurs when the stylus touches the digitizer while the stylus is over this element.
(Inherited from UIElement)
Public eventStylusEnterOccurs when the stylus enters the bounds of this element.
(Inherited from UIElement)
Public eventStylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer.
(Inherited from UIElement)
Public eventStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element.
(Inherited from UIElement)
Public eventStylusLeaveOccurs when the stylus leaves the bounds of the element.
(Inherited from UIElement)
Public eventStylusMoveOccurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead.
(Inherited from UIElement)
Public eventStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected, while over this element.
(Inherited from UIElement)
Public eventStylusSystemGestureOccurs when a user performs one of several stylus gestures.
(Inherited from UIElement)
Public eventStylusUpOccurs when the user raises the stylus off the digitizer while it is over this element.
(Inherited from UIElement)
Public eventTargetUpdatedOccurs when the target value changes for any property binding on this element.
(Inherited from FrameworkElement)
Public eventTextInputOccurs when this element gets text in a device-independent manner.
(Inherited from UIElement)
Public eventToolTipClosingOccurs just before any tooltip on the element is closed.
(Inherited from FrameworkElement)
Public eventToolTipOpeningOccurs when any tooltip on the element is opened.
(Inherited from FrameworkElement)
Public eventTouchDownOccurs when a finger touches the screen while the finger is over this element.
(Inherited from UIElement)
Public eventTouchEnterOccurs when a touch moves from outside to inside the bounds of this element.
(Inherited from UIElement)
Public eventTouchLeaveOccurs when a touch moves from inside to outside the bounds of this element.
(Inherited from UIElement)
Public eventTouchMoveOccurs when a finger moves on the screen while the finger is over this element.
(Inherited from UIElement)
Public eventTouchUpOccurs when a finger is raised off of the screen while the finger is over this element.
(Inherited from UIElement)
Public eventUnloadedOccurs when the element is removed from within an element tree of loaded elements.
(Inherited from FrameworkElement)

See Also

Reference

Was this information helpful?