IFrameworkInputElement Members

Declares a namescope contract for framework elements.

The IFrameworkInputElement type exposes the following members.

  NameDescription
Public method AddHandler Adds a routed event handler for a specific routed event to an element. (Inherited from IInputElement.)
Public method CaptureMouse Attempts to force capture of the mouse to this element. (Inherited from IInputElement.)
Public method CaptureStylus Attempts to force capture of the stylus to this element. (Inherited from IInputElement.)
Public method Focus Attempts to focus the keyboard on this element. (Inherited from IInputElement.)
Public method RaiseEvent Raises the routed event that is specified by the RoutedEventArgs.RoutedEvent property within the provided RoutedEventArgs. (Inherited from IInputElement.)
Public method ReleaseMouseCapture Releases the mouse capture, if this element holds the capture. (Inherited from IInputElement.)
Public method ReleaseStylusCapture Releases the stylus capture, if this element holds the capture. (Inherited from IInputElement.)
Public method RemoveHandler Removes all instances of the specified routed event handler from this element. (Inherited from IInputElement.)
Top

  NameDescription
Public property Focusable Gets or sets a value that indicates whether focus can be set to this element. (Inherited from IInputElement.)
Public property IsEnabled Gets a value that indicates whether this element is enabled in the user interface (UI). (Inherited from IInputElement.)
Public property IsKeyboardFocused Gets a value that indicates whether this element has keyboard focus. (Inherited from IInputElement.)
Public property IsKeyboardFocusWithin Gets a value that indicates whether keyboard focus is anywhere inside the element bounds, including if keyboard focus is inside the bounds of any visual child elements. (Inherited from IInputElement.)
Public property IsMouseCaptured Gets a value that indicates whether the mouse is captured to this element. (Inherited from IInputElement.)
Public property IsMouseDirectlyOver Gets a value that indicates whether the mouse pointer is over this element in the strictest hit testing sense. (Inherited from IInputElement.)
Public property IsMouseOver Gets a value that indicates whether the mouse pointer is located over this element (including visual children elements that are inside its bounds). (Inherited from IInputElement.)
Public property IsStylusCaptured Gets a value that indicates whether the stylus is captured to this element. (Inherited from IInputElement.)
Public property IsStylusDirectlyOver Gets a value that indicates whether the stylus is over this element in the strictest hit testing sense. (Inherited from IInputElement.)
Public property IsStylusOver Gets a value that indicates whether the stylus is located over this element (or over visual child elements that are inside its bounds). (Inherited from IInputElement.)
Public property Name Gets or sets the name of an element.
Top

  NameDescription
Public event GotKeyboardFocus Occurs when the keyboard is focused on this element. (Inherited from IInputElement.)
Public event GotMouseCapture Occurs when the element captures the mouse. (Inherited from IInputElement.)
Public event GotStylusCapture Occurs when the element captures the stylus. (Inherited from IInputElement.)
Public event KeyDown Occurs when a key is pressed while the keyboard is focused on this element. (Inherited from IInputElement.)
Public event KeyUp Occurs when a key is released while the keyboard is focused on this element. (Inherited from IInputElement.)
Public event LostKeyboardFocus Occurs when the keyboard is no longer focused on this element. (Inherited from IInputElement.)
Public event LostMouseCapture Occurs when this element loses mouse capture. (Inherited from IInputElement.)
Public event LostStylusCapture Occurs when this element loses stylus capture. (Inherited from IInputElement.)
Public event MouseEnter Occurs when the mouse pointer enters the bounds of this element. (Inherited from IInputElement.)
Public event MouseLeave Occurs when the mouse pointer leaves the bounds of this element. (Inherited from IInputElement.)
Public event MouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event MouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event MouseMove Occurs when the mouse pointer moves while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event MouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event MouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event MouseWheel Occurs when the mouse wheel moves while the mouse pointer is over this element. (Inherited from IInputElement.)
Public event PreviewGotKeyboardFocus Occurs when the keyboard is focused on this element. (Inherited from IInputElement.)
Public event PreviewKeyDown Occurs when a key is pressed while the keyboard is focused on this element. (Inherited from IInputElement.)
Public event PreviewKeyUp Occurs when a key is released while the keyboard is focused on this element. (Inherited from IInputElement.)
Public event PreviewLostKeyboardFocus Occurs when the keyboard is no longer focused on this element. (Inherited from IInputElement.)
Public event PreviewMouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event PreviewMouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event PreviewMouseMove Occurs when the mouse pointer moves while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event PreviewMouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event PreviewMouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public event PreviewMouseWheel Occurs when the mouse wheel moves while the mouse pointer is over this element. (Inherited from IInputElement.)
Public event PreviewStylusButtonDown Occurs when the stylus button is pressed down while the stylus is over this element. (Inherited from IInputElement.)
Public event PreviewStylusButtonUp Occurs when the stylus button is released while the stylus is over this element. (Inherited from IInputElement.)
Public event PreviewStylusDown Occurs when the stylus touches the digitizer while over this element. (Inherited from IInputElement.)
Public event PreviewStylusInAirMove Occurs when the stylus moves over an element, but without touching the digitizer. (Inherited from IInputElement.)
Public event PreviewStylusInRange Occurs when the stylus is close enough to the digitizer to be detected. (Inherited from IInputElement.)
Public event PreviewStylusMove Occurs when the stylus moves while the stylus is over the element. (Inherited from IInputElement.)
Public event PreviewStylusOutOfRange Occurs when the stylus is too far from the digitizer to be detected. (Inherited from IInputElement.)
Public event PreviewStylusSystemGesture Occurs when one of several stylus gestures are detected, for example, Tap or Drag. (Inherited from IInputElement.)
Public event PreviewStylusUp Occurs when the stylus is raised off the digitizer while over this element. (Inherited from IInputElement.)
Public event PreviewTextInput Occurs when this element gets text in a device-independent manner. (Inherited from IInputElement.)
Public event StylusButtonDown Occurs when the stylus button is pressed while the stylus is over this element. (Inherited from IInputElement.)
Public event StylusButtonUp Occurs when the stylus button is released while the stylus is over this element. (Inherited from IInputElement.)
Public event StylusDown Occurs when the stylus touches the digitizer while over this element. (Inherited from IInputElement.)
Public event StylusEnter Occurs when the stylus cursor enters the bounds of the element. (Inherited from IInputElement.)
Public event StylusInAirMove Occurs when the stylus moves over an element, but without touching the digitizer. (Inherited from IInputElement.)
Public event StylusInRange Occurs when the stylus is close enough to the digitizer to be detected. (Inherited from IInputElement.)
Public event StylusLeave Occurs when the stylus cursor leaves the bounds of the element. (Inherited from IInputElement.)
Public event StylusMove Occurs when the stylus cursor moves over the element. (Inherited from IInputElement.)
Public event StylusOutOfRange Occurs when the stylus is too far from the digitizer to be detected. (Inherited from IInputElement.)
Public event StylusSystemGesture Occurs when one of several stylus gestures are detected, for example, Tap or Drag. (Inherited from IInputElement.)
Public event StylusUp Occurs when the stylus is raised off the digitizer while over this element. (Inherited from IInputElement.)
Public event TextInput Occurs when this element gets text in a device-independent manner. (Inherited from IInputElement.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft