Export (0) Print
Expand All

IFrameworkInputElement Interface

Declares a namescope contract for framework elements.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

'Declaration
Public Interface IFrameworkInputElement _
	Inherits IInputElement

The IFrameworkInputElement type exposes the following members.

  NameDescription
Public propertyFocusableGets or sets a value that indicates whether focus can be set to this element. (Inherited from IInputElement.)
Public propertyIsEnabledGets a value that indicates whether this element is enabled in the user interface (UI). (Inherited from IInputElement.)
Public propertyIsKeyboardFocusedGets a value that indicates whether this element has keyboard focus. (Inherited from IInputElement.)
Public propertyIsKeyboardFocusWithinGets 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 propertyIsMouseCapturedGets a value that indicates whether the mouse is captured to this element. (Inherited from IInputElement.)
Public propertyIsMouseDirectlyOverGets a value that indicates whether the mouse pointer is over this element in the strictest hit testing sense. (Inherited from IInputElement.)
Public propertyIsMouseOverGets 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 propertyIsStylusCapturedGets a value that indicates whether the stylus is captured to this element. (Inherited from IInputElement.)
Public propertyIsStylusDirectlyOverGets a value that indicates whether the stylus is over this element in the strictest hit testing sense. (Inherited from IInputElement.)
Public propertyIsStylusOverGets 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 propertyNameGets or sets the name of an element.
Top

  NameDescription
Public methodAddHandlerAdds a routed event handler for a specific routed event to an element. (Inherited from IInputElement.)
Public methodCaptureMouseAttempts to force capture of the mouse to this element. (Inherited from IInputElement.)
Public methodCaptureStylusAttempts to force capture of the stylus to this element. (Inherited from IInputElement.)
Public methodFocusAttempts to focus the keyboard on this element. (Inherited from IInputElement.)
Public methodRaiseEventRaises the routed event that is specified by the RoutedEventArgs.RoutedEvent property within the provided RoutedEventArgs. (Inherited from IInputElement.)
Public methodReleaseMouseCaptureReleases the mouse capture, if this element holds the capture. (Inherited from IInputElement.)
Public methodReleaseStylusCaptureReleases the stylus capture, if this element holds the capture. (Inherited from IInputElement.)
Public methodRemoveHandlerRemoves all instances of the specified routed event handler from this element. (Inherited from IInputElement.)
Top

  NameDescription
Public eventGotKeyboardFocusOccurs when the keyboard is focused on this element. (Inherited from IInputElement.)
Public eventGotMouseCaptureOccurs when the element captures the mouse. (Inherited from IInputElement.)
Public eventGotStylusCaptureOccurs when the element captures the stylus. (Inherited from IInputElement.)
Public eventKeyDownOccurs when a key is pressed while the keyboard is focused on this element. (Inherited from IInputElement.)
Public eventKeyUpOccurs when a key is released while the keyboard is focused on this element. (Inherited from IInputElement.)
Public eventLostKeyboardFocusOccurs when the keyboard is no longer focused on this element. (Inherited from IInputElement.)
Public eventLostMouseCaptureOccurs when this element loses mouse capture. (Inherited from IInputElement.)
Public eventLostStylusCaptureOccurs when this element loses stylus capture. (Inherited from IInputElement.)
Public eventMouseEnterOccurs when the mouse pointer enters the bounds of this element. (Inherited from IInputElement.)
Public eventMouseLeaveOccurs when the mouse pointer leaves the bounds of this element. (Inherited from IInputElement.)
Public eventMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventMouseMoveOccurs when the mouse pointer moves while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventMouseWheelOccurs when the mouse wheel moves while the mouse pointer is over this element. (Inherited from IInputElement.)
Public eventPreviewGotKeyboardFocusOccurs when the keyboard is focused on this element. (Inherited from IInputElement.)
Public eventPreviewKeyDownOccurs when a key is pressed while the keyboard is focused on this element. (Inherited from IInputElement.)
Public eventPreviewKeyUpOccurs when a key is released while the keyboard is focused on this element. (Inherited from IInputElement.)
Public eventPreviewLostKeyboardFocusOccurs when the keyboard is no longer focused on this element. (Inherited from IInputElement.)
Public eventPreviewMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventPreviewMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventPreviewMouseMoveOccurs when the mouse pointer moves while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventPreviewMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventPreviewMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.)
Public eventPreviewMouseWheelOccurs when the mouse wheel moves while the mouse pointer is over this element. (Inherited from IInputElement.)
Public eventPreviewStylusButtonDownOccurs when the stylus button is pressed down while the stylus is over this element. (Inherited from IInputElement.)
Public eventPreviewStylusButtonUpOccurs when the stylus button is released while the stylus is over this element. (Inherited from IInputElement.)
Public eventPreviewStylusDownOccurs when the stylus touches the digitizer while over this element. (Inherited from IInputElement.)
Public eventPreviewStylusInAirMoveOccurs when the stylus moves over an element, but without touching the digitizer. (Inherited from IInputElement.)
Public eventPreviewStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected. (Inherited from IInputElement.)
Public eventPreviewStylusMoveOccurs when the stylus moves while the stylus is over the element. (Inherited from IInputElement.)
Public eventPreviewStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected. (Inherited from IInputElement.)
Public eventPreviewStylusSystemGestureOccurs when one of several stylus gestures are detected, for example, Tap or Drag. (Inherited from IInputElement.)
Public eventPreviewStylusUpOccurs when the stylus is raised off the digitizer while over this element. (Inherited from IInputElement.)
Public eventPreviewTextInputOccurs when this element gets text in a device-independent manner. (Inherited from IInputElement.)
Public eventStylusButtonDownOccurs when the stylus button is pressed while the stylus is over this element. (Inherited from IInputElement.)
Public eventStylusButtonUpOccurs when the stylus button is released while the stylus is over this element. (Inherited from IInputElement.)
Public eventStylusDownOccurs when the stylus touches the digitizer while over this element. (Inherited from IInputElement.)
Public eventStylusEnterOccurs when the stylus cursor enters the bounds of the element. (Inherited from IInputElement.)
Public eventStylusInAirMoveOccurs when the stylus moves over an element, but without touching the digitizer. (Inherited from IInputElement.)
Public eventStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected. (Inherited from IInputElement.)
Public eventStylusLeaveOccurs when the stylus cursor leaves the bounds of the element. (Inherited from IInputElement.)
Public eventStylusMoveOccurs when the stylus cursor moves over the element. (Inherited from IInputElement.)
Public eventStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected. (Inherited from IInputElement.)
Public eventStylusSystemGestureOccurs when one of several stylus gestures are detected, for example, Tap or Drag. (Inherited from IInputElement.)
Public eventStylusUpOccurs when the stylus is raised off the digitizer while over this element. (Inherited from IInputElement.)
Public eventTextInputOccurs when this element gets text in a device-independent manner. (Inherited from IInputElement.)
Top

This interface is not intended for implementation. Its purpose is to support the WPF framework-level infrastructure. To implement a namescope, see INameScope.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft