Bewerken

Delen via


IFrameworkInputElement Interface

Definition

Declares a namescope contract for framework elements.

public interface class IFrameworkInputElement : System::Windows::IInputElement
public interface IFrameworkInputElement : System.Windows.IInputElement
type IFrameworkInputElement = interface
    interface IInputElement
Public Interface IFrameworkInputElement
Implements IInputElement
Derived
Implements

Remarks

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

Properties

Focusable

Gets or sets a value that indicates whether focus can be set to this element.

(Inherited from IInputElement)
IsEnabled

Gets a value that indicates whether this element is enabled in the user interface (UI).

(Inherited from IInputElement)
IsKeyboardFocused

Gets a value that indicates whether this element has keyboard focus.

(Inherited from IInputElement)
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)
IsMouseCaptured

Gets a value that indicates whether the mouse is captured to this element.

(Inherited from IInputElement)
IsMouseDirectlyOver

Gets a value that indicates whether the mouse pointer is over this element in the strictest hit testing sense.

(Inherited from IInputElement)
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)
IsStylusCaptured

Gets a value that indicates whether the stylus is captured to this element.

(Inherited from IInputElement)
IsStylusDirectlyOver

Gets a value that indicates whether the stylus is over this element in the strictest hit testing sense.

(Inherited from IInputElement)
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)
Name

Gets or sets the name of an element.

Methods

AddHandler(RoutedEvent, Delegate)

Adds a routed event handler for a specific routed event to an element.

(Inherited from IInputElement)
CaptureMouse()

Attempts to force capture of the mouse to this element.

(Inherited from IInputElement)
CaptureStylus()

Attempts to force capture of the stylus to this element.

(Inherited from IInputElement)
Focus()

Attempts to focus the keyboard on this element.

(Inherited from IInputElement)
RaiseEvent(RoutedEventArgs)

Raises the routed event that is specified by the RoutedEvent property within the provided RoutedEventArgs.

(Inherited from IInputElement)
ReleaseMouseCapture()

Releases the mouse capture, if this element holds the capture.

(Inherited from IInputElement)
ReleaseStylusCapture()

Releases the stylus capture, if this element holds the capture.

(Inherited from IInputElement)
RemoveHandler(RoutedEvent, Delegate)

Removes all instances of the specified routed event handler from this element.

(Inherited from IInputElement)

Events

GotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from IInputElement)
GotMouseCapture

Occurs when the element captures the mouse.

(Inherited from IInputElement)
GotStylusCapture

Occurs when the element captures the stylus.

(Inherited from IInputElement)
KeyDown

Occurs when a key is pressed while the keyboard is focused on this element.

(Inherited from IInputElement)
KeyUp

Occurs when a key is released while the keyboard is focused on this element.

(Inherited from IInputElement)
LostKeyboardFocus

Occurs when the keyboard is no longer focused on this element.

(Inherited from IInputElement)
LostMouseCapture

Occurs when this element loses mouse capture.

(Inherited from IInputElement)
LostStylusCapture

Occurs when this element loses stylus capture.

(Inherited from IInputElement)
MouseEnter

Occurs when the mouse pointer enters the bounds of this element.

(Inherited from IInputElement)
MouseLeave

Occurs when the mouse pointer leaves the bounds of this element.

(Inherited from IInputElement)
MouseLeftButtonDown

Occurs when the left mouse button is pressed while the mouse pointer is over the element.

(Inherited from IInputElement)
MouseLeftButtonUp

Occurs when the left mouse button is released while the mouse pointer is over the element.

(Inherited from IInputElement)
MouseMove

Occurs when the mouse pointer moves while the mouse pointer is over the element.

(Inherited from IInputElement)
MouseRightButtonDown

Occurs when the right mouse button is pressed while the mouse pointer is over the element.

(Inherited from IInputElement)
MouseRightButtonUp

Occurs when the right mouse button is released while the mouse pointer is over the element.

(Inherited from IInputElement)
MouseWheel

Occurs when the mouse wheel moves while the mouse pointer is over this element.

(Inherited from IInputElement)
PreviewGotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from IInputElement)
PreviewKeyDown

Occurs when a key is pressed while the keyboard is focused on this element.

(Inherited from IInputElement)
PreviewKeyUp

Occurs when a key is released while the keyboard is focused on this element.

(Inherited from IInputElement)
PreviewLostKeyboardFocus

Occurs when the keyboard is no longer focused on this element.

(Inherited from IInputElement)
PreviewMouseLeftButtonDown

Occurs when the left mouse button is pressed while the mouse pointer is over the element.

(Inherited from IInputElement)
PreviewMouseLeftButtonUp

Occurs when the left mouse button is released while the mouse pointer is over the element.

(Inherited from IInputElement)
PreviewMouseMove

Occurs when the mouse pointer moves while the mouse pointer is over the element.

(Inherited from IInputElement)
PreviewMouseRightButtonDown

Occurs when the right mouse button is pressed while the mouse pointer is over the element.

(Inherited from IInputElement)
PreviewMouseRightButtonUp

Occurs when the right mouse button is released while the mouse pointer is over the element.

(Inherited from IInputElement)
PreviewMouseWheel

Occurs when the mouse wheel moves while the mouse pointer is over this element.

(Inherited from IInputElement)
PreviewStylusButtonDown

Occurs when the stylus button is pressed down while the stylus is over this element.

(Inherited from IInputElement)
PreviewStylusButtonUp

Occurs when the stylus button is released while the stylus is over this element.

(Inherited from IInputElement)
PreviewStylusDown

Occurs when the stylus touches the digitizer while over this element.

(Inherited from IInputElement)
PreviewStylusInAirMove

Occurs when the stylus moves over an element, but without touching the digitizer.

(Inherited from IInputElement)
PreviewStylusInRange

Occurs when the stylus is close enough to the digitizer to be detected.

(Inherited from IInputElement)
PreviewStylusMove

Occurs when the stylus moves while the stylus is over the element.

(Inherited from IInputElement)
PreviewStylusOutOfRange

Occurs when the stylus is too far from the digitizer to be detected.

(Inherited from IInputElement)
PreviewStylusSystemGesture

Occurs when one of several stylus gestures are detected, for example, Tap or Drag.

(Inherited from IInputElement)
PreviewStylusUp

Occurs when the stylus is raised off the digitizer while over this element.

(Inherited from IInputElement)
PreviewTextInput

Occurs when this element gets text in a device-independent manner.

(Inherited from IInputElement)
StylusButtonDown

Occurs when the stylus button is pressed while the stylus is over this element.

(Inherited from IInputElement)
StylusButtonUp

Occurs when the stylus button is released while the stylus is over this element.

(Inherited from IInputElement)
StylusDown

Occurs when the stylus touches the digitizer while over this element.

(Inherited from IInputElement)
StylusEnter

Occurs when the stylus cursor enters the bounds of the element.

(Inherited from IInputElement)
StylusInAirMove

Occurs when the stylus moves over an element, but without touching the digitizer.

(Inherited from IInputElement)
StylusInRange

Occurs when the stylus is close enough to the digitizer to be detected.

(Inherited from IInputElement)
StylusLeave

Occurs when the stylus cursor leaves the bounds of the element.

(Inherited from IInputElement)
StylusMove

Occurs when the stylus cursor moves over the element.

(Inherited from IInputElement)
StylusOutOfRange

Occurs when the stylus is too far from the digitizer to be detected.

(Inherited from IInputElement)
StylusSystemGesture

Occurs when one of several stylus gestures are detected, for example, Tap or Drag.

(Inherited from IInputElement)
StylusUp

Occurs when the stylus is raised off the digitizer while over this element.

(Inherited from IInputElement)
TextInput

Occurs when this element gets text in a device-independent manner.

(Inherited from IInputElement)

Applies to