IInputElement Arabirim
Tanım
Ortak olayları ve ayrıca, Windows Presentation Foundation (WPF) öğelerine göre temel giriş işleme için olay ile ilgili özellikleri ve yöntemleri belirler.Establishes the common events and also the event-related properties and methods for basic input processing by Windows Presentation Foundation (WPF) elements.
public interface class IInputElement
public interface IInputElement
type IInputElement = interface
Public Interface IInputElement
- Türetilmiş
Açıklamalar
Önemli
Bu arabirim genel olsa da, uygulama veya çerçeve derleme senaryolarında uygulanması amaçlanmamıştır.Although this interface is public, it is not intended to be implemented in application or framework-building scenarios. Çekirdeği çerçeveye bağlamak için devralma gereksinimleri nedeniyle bu arabirim geneldir WPFWPF WPFWPF .This interface is public because of the inheritance requirements for connecting the WPFWPF core to the WPFWPF framework. Bu arabirimi, giriş olaylarının ve özelliklerinin, FrameworkElement FrameworkContentElement aynı giriş modelinde işlenebilen bir veya ' dan gelmesini zorlamak için bir atama mekanizması olarak da kullanabilirsiniz.You can also use this interface as a casting mechanism to enforce that the input events and properties will come from either a FrameworkElement or FrameworkContentElement, which can be handled in the same input model. Daha fazla bilgi için bkz. WPF mimarisi ve ayrıca bkz. temel öğelere genel bakış.For more information, see WPF Architecture and also see Base Elements Overview.
Özellikler
Focusable |
Odağın bu öğeye uygulanıp ayarlanamayacağını gösteren bir değer alır veya ayarlar.Gets or sets a value that indicates whether focus can be set to this element. |
IsEnabled |
İçinde bu öğenin etkin olup olmadığını gösteren bir değer alır kullanıcı arabirimi (UI)user interface (UI) .Gets a value that indicates whether this element is enabled in the kullanıcı arabirimi (UI)user interface (UI). |
IsKeyboardFocused |
Bu öğenin klavye odağına sahip olup olmadığını gösteren bir değer alır.Gets a value that indicates whether this element has keyboard focus. |
IsKeyboardFocusWithin |
Klavye odağının herhangi bir görsel alt öğe sınırları içinde olup olmadığı da dahil olmak üzere, klavye odağının öğe sınırları içinde olup olmadığını gösteren bir değer alır.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. |
IsMouseCaptured |
Farenin bu öğeye yakalanıp yakalanmadığını gösteren bir değer alır.Gets a value that indicates whether the mouse is captured to this element. |
IsMouseDirectlyOver |
, Fare işaretçisinin, en katı isabet testi açısından bu öğenin üzerinde olup olmadığını gösteren bir değer alır.Gets a value that indicates whether the mouse pointer is over this element in the strictest hit testing sense. |
IsMouseOver |
Fare işaretçisinin bu öğe üzerinde bulunup bulunmadığını (sınırları içinde olan görsel alt öğeleri dahil) gösteren bir değer alır.Gets a value that indicates whether the mouse pointer is located over this element (including visual children elements that are inside its bounds). |
IsStylusCaptured |
Ekran kalemi 'nin bu öğeye yakalanıp yakalanmadığını gösteren bir değer alır.Gets a value that indicates whether the stylus is captured to this element. |
IsStylusDirectlyOver |
Stilus 'ın en katı isabet testi açısından bu öğenin üzerinde olup olmadığını gösteren bir değer alır.Gets a value that indicates whether the stylus is over this element in the strictest hit testing sense. |
IsStylusOver |
Ekran kalemi 'nin bu öğe üzerinde (veya sınırları içinde olan görsel alt öğeler üzerinde) bulunup bulunmadığını gösteren bir değer alır.Gets a value that indicates whether the stylus is located over this element (or over visual child elements that are inside its bounds). |
Yöntemler
AddHandler(RoutedEvent, Delegate) |
Belirli bir yönlendirilmiş olay için bir öğeye yönlendirilmiş olay işleyicisi ekler.Adds a routed event handler for a specific routed event to an element. |
CaptureMouse() |
Fareyi bu öğeye yakalamayı zorlamaya çalışır.Attempts to force capture of the mouse to this element. |
CaptureStylus() |
Bu öğeye ekran kalemi yakalamayı zorlamaya çalışır.Attempts to force capture of the stylus to this element. |
Focus() |
Bu öğe üzerinde klavyeyi odaklamaya çalışır.Attempts to focus the keyboard on this element. |
RaiseEvent(RoutedEventArgs) |
Belirtilen içinde özelliği tarafından belirtilen yönlendirilmiş olayı başlatır RoutedEvent RoutedEventArgs .Raises the routed event that is specified by the RoutedEvent property within the provided RoutedEventArgs. |
ReleaseMouseCapture() |
Bu öğe yakalamayı tutuyorsa, fare yakalamayı serbest bırakır.Releases the mouse capture, if this element holds the capture. |
ReleaseStylusCapture() |
Bu öğe yakalamayı tutuyorsa, ekran kalemi yakalamayı serbest bırakır.Releases the stylus capture, if this element holds the capture. |
RemoveHandler(RoutedEvent, Delegate) |
Belirtilen yönlendirilmiş olay işleyicisinin tüm örneklerini bu öğeden kaldırır.Removes all instances of the specified routed event handler from this element. |
Ekinlikler
GotKeyboardFocus |
Klavye bu öğeye odaklandığında gerçekleşir.Occurs when the keyboard is focused on this element. |
GotMouseCapture |
Öğe fareyi yakaladığında gerçekleşir.Occurs when the element captures the mouse. |
GotStylusCapture |
Öğe ekran kalemini yakaladığında gerçekleşir.Occurs when the element captures the stylus. |
KeyDown |
Klavye bu öğeye odaklandığı sırada bir tuşa basıldığında gerçekleşir.Occurs when a key is pressed while the keyboard is focused on this element. |
KeyUp |
Klavye bu öğeye odaklandığında bir anahtar serbest bırakıldığında gerçekleşir.Occurs when a key is released while the keyboard is focused on this element. |
LostKeyboardFocus |
Klavye artık bu öğeye odaklanmadıysa oluşur.Occurs when the keyboard is no longer focused on this element. |
LostMouseCapture |
Bu öğe, fare yakalamayı kaybettiğinde gerçekleşir.Occurs when this element loses mouse capture. |
LostStylusCapture |
Bu öğe Stilus yakalamayı kaybettiğinde gerçekleşir.Occurs when this element loses stylus capture. |
MouseEnter |
Fare işaretçisi bu öğenin sınırlarına girdiğinde gerçekleşir.Occurs when the mouse pointer enters the bounds of this element. |
MouseLeave |
Fare işaretçisi bu öğenin sınırları dışına çıktığında gerçekleşir.Occurs when the mouse pointer leaves the bounds of this element. |
MouseLeftButtonDown |
Fare işaretçisi öğenin üzerindeyken farenin sol düğmesine basıldığında gerçekleşir.Occurs when the left mouse button is pressed while the mouse pointer is over the element. |
MouseLeftButtonUp |
Fare işaretçisi öğenin üzerindeyken farenin sol düğmesi bırakıldığında gerçekleşir.Occurs when the left mouse button is released while the mouse pointer is over the element. |
MouseMove |
Fare işaretçisi öğenin üzerindeyken fare işaretçisi değiştiğinde gerçekleşir.Occurs when the mouse pointer moves while the mouse pointer is over the element. |
MouseRightButtonDown |
Fare işaretçisi öğenin üzerindeyken farenin sağ düğmesine basıldığında gerçekleşir.Occurs when the right mouse button is pressed while the mouse pointer is over the element. |
MouseRightButtonUp |
Fare işaretçisi öğenin üzerindeyken farenin sağ düğmesi bırakıldığında gerçekleşir.Occurs when the right mouse button is released while the mouse pointer is over the element. |
MouseWheel |
Fare işaretçisi bu öğenin üzerindeyken fare tekerleği hareket ettiğinde gerçekleşir.Occurs when the mouse wheel moves while the mouse pointer is over this element. |
PreviewGotKeyboardFocus |
Klavye bu öğeye odaklandığında gerçekleşir.Occurs when the keyboard is focused on this element. |
PreviewKeyDown |
Klavye bu öğeye odaklandığı sırada bir tuşa basıldığında gerçekleşir.Occurs when a key is pressed while the keyboard is focused on this element. |
PreviewKeyUp |
Klavye bu öğeye odaklandığında bir anahtar serbest bırakıldığında gerçekleşir.Occurs when a key is released while the keyboard is focused on this element. |
PreviewLostKeyboardFocus |
Klavye artık bu öğeye odaklanmadıysa oluşur.Occurs when the keyboard is no longer focused on this element. |
PreviewMouseLeftButtonDown |
Fare işaretçisi öğenin üzerindeyken farenin sol düğmesine basıldığında gerçekleşir.Occurs when the left mouse button is pressed while the mouse pointer is over the element. |
PreviewMouseLeftButtonUp |
Fare işaretçisi öğenin üzerindeyken farenin sol düğmesi bırakıldığında gerçekleşir.Occurs when the left mouse button is released while the mouse pointer is over the element. |
PreviewMouseMove |
Fare işaretçisi öğenin üzerindeyken fare işaretçisi değiştiğinde gerçekleşir.Occurs when the mouse pointer moves while the mouse pointer is over the element. |
PreviewMouseRightButtonDown |
Fare işaretçisi öğenin üzerindeyken farenin sağ düğmesine basıldığında gerçekleşir.Occurs when the right mouse button is pressed while the mouse pointer is over the element. |
PreviewMouseRightButtonUp |
Fare işaretçisi öğenin üzerindeyken farenin sağ düğmesi bırakıldığında gerçekleşir.Occurs when the right mouse button is released while the mouse pointer is over the element. |
PreviewMouseWheel |
Fare işaretçisi bu öğenin üzerindeyken fare tekerleği hareket ettiğinde gerçekleşir.Occurs when the mouse wheel moves while the mouse pointer is over this element. |
PreviewStylusButtonDown |
Ekran kalemi bu öğenin üzerindeyken ekran kalemi düğmesine basıldığında gerçekleşir.Occurs when the stylus button is pressed down while the stylus is over this element. |
PreviewStylusButtonUp |
Ekran kalemi bu öğenin üzerindeyken ekran kalemi düğmesi bırakıldığında gerçekleşir.Occurs when the stylus button is released while the stylus is over this element. |
PreviewStylusDown |
Ekran kalemi bu öğenin üzerindeyken çizim tablasına dokunduğunda gerçekleşir.Occurs when the stylus touches the digitizer while over this element. |
PreviewStylusInAirMove |
Ekran kalemi bir öğenin üzerine geldiğinde ve çizim tablasına dokunmadan gerçekleşir.Occurs when the stylus moves over an element, but without touching the digitizer. |
PreviewStylusInRange |
Ekran kalemi çizim tablasına algılanacak kadar yakın olduğunda gerçekleşir.Occurs when the stylus is close enough to the digitizer to be detected. |
PreviewStylusMove |
Ekran kalemi öğenin üzerindeyken ekran kalemi taşırken gerçekleşir.Occurs when the stylus moves while the stylus is over the element. |
PreviewStylusOutOfRange |
Ekran kalemi çizim tablasından algılanamayacak kadar uzak olduğunda gerçekleşir.Occurs when the stylus is too far from the digitizer to be detected. |
PreviewStylusSystemGesture |
Birkaç ekran kalemi hareketinden biri algılandığında gerçekleşir, örneğin Tap veya Drag .Occurs when one of several stylus gestures are detected, for example, Tap or Drag. |
PreviewStylusUp |
Ekran kalemi bu öğenin üzerindeyken çizim tablasının dışına çıktığında gerçekleşir.Occurs when the stylus is raised off the digitizer while over this element. |
PreviewTextInput |
Bu öğe bir cihazdan bağımsız şekilde metin aldığında gerçekleşir.Occurs when this element gets text in a device-independent manner. |
StylusButtonDown |
Ekran kalemi bu öğenin üzerindeyken ekran kalemi düğmesine basıldığında gerçekleşir.Occurs when the stylus button is pressed while the stylus is over this element. |
StylusButtonUp |
Ekran kalemi bu öğenin üzerindeyken ekran kalemi düğmesi bırakıldığında gerçekleşir.Occurs when the stylus button is released while the stylus is over this element. |
StylusDown |
Ekran kalemi bu öğenin üzerindeyken çizim tablasına dokunduğunda gerçekleşir.Occurs when the stylus touches the digitizer while over this element. |
StylusEnter |
Ekran kalemi imleci öğenin sınırlarına girdiğinde gerçekleşir.Occurs when the stylus cursor enters the bounds of the element. |
StylusInAirMove |
Ekran kalemi bir öğenin üzerine geldiğinde ve çizim tablasına dokunmadan gerçekleşir.Occurs when the stylus moves over an element, but without touching the digitizer. |
StylusInRange |
Ekran kalemi çizim tablasına algılanacak kadar yakın olduğunda gerçekleşir.Occurs when the stylus is close enough to the digitizer to be detected. |
StylusLeave |
Ekran kalemi imleci öğenin sınırları dışına çıktığında gerçekleşir.Occurs when the stylus cursor leaves the bounds of the element. |
StylusMove |
Ekran kalemi imleci öğenin üzerine geldiğinde gerçekleşir.Occurs when the stylus cursor moves over the element. |
StylusOutOfRange |
Ekran kalemi çizim tablasından algılanamayacak kadar uzak olduğunda gerçekleşir.Occurs when the stylus is too far from the digitizer to be detected. |
StylusSystemGesture |
Birkaç ekran kalemi hareketinden biri algılandığında gerçekleşir, örneğin Tap veya Drag .Occurs when one of several stylus gestures are detected, for example, Tap or Drag. |
StylusUp |
Ekran kalemi bu öğenin üzerindeyken çizim tablasının dışına çıktığında gerçekleşir.Occurs when the stylus is raised off the digitizer while over this element. |
TextInput |
Bu öğe bir cihazdan bağımsız şekilde metin aldığında gerçekleşir.Occurs when this element gets text in a device-independent manner. |