IInputElement.GotStylusCapture Event

Definition

在元素捕获触笔时发生。Occurs when the element captures the stylus.

public:
 event System::Windows::Input::StylusEventHandler ^ GotStylusCapture;
event System.Windows.Input.StylusEventHandler GotStylusCapture;
member this.GotStylusCapture : System.Windows.Input.StylusEventHandler 
Event GotStylusCapture As StylusEventHandler 

Remarks

此接口不用于公共实现。This interface is not intended for public implementation. 有关详细信息,请参阅 IInputElement 界面的 "备注"。For more information, see remarks for the IInputElement interface.

当元素捕获触笔时,即使光标超出其边界,该元素也会接收触笔输入。When an element captures the stylus, that element receives stylus input even if the cursor is outside its bounds. 通常情况下,触笔仅以这种方式在拖放操作期间捕获,并保留捕获,直到拖放操作的删除操作发生。The stylus is typically captured in this manner only during drag-and-drop operations, and retains capture until the drop action of the drag-and-drop operation occurs.

Applies to

See also