MouseDevice.Captured 屬性

定義

取得滑鼠捕捉的 IInputElementGets the IInputElement that is captured by the mouse.

public:
 property System::Windows::IInputElement ^ Captured { System::Windows::IInputElement ^ get(); };
public System.Windows.IInputElement Captured { get; }
member this.Captured : System.Windows.IInputElement
Public ReadOnly Property Captured As IInputElement

屬性值

滑鼠捕捉的項目。The element which is captured by the mouse.

備註

當專案捕捉到滑鼠時,不論游標是否在其框線內,都會收到滑鼠輸入。When an element captures the mouse, it receives mouse input whether or not the cursor is within its borders.

適用於