Bagikan melalui


ContentElement.ReleaseTouchCapture(TouchDevice) Metode

Definisi

Mencoba melepaskan perangkat sentuh yang ditentukan dari elemen ini.

public:
 bool ReleaseTouchCapture(System::Windows::Input::TouchDevice ^ touchDevice);
public bool ReleaseTouchCapture (System.Windows.Input.TouchDevice touchDevice);
member this.ReleaseTouchCapture : System.Windows.Input.TouchDevice -> bool
Public Function ReleaseTouchCapture (touchDevice As TouchDevice) As Boolean

Parameter

touchDevice
TouchDevice

Perangkat yang akan dilepaskan.

Mengembalikan

true jika perangkat sentuh dilepaskan; jika tidak, false.

Pengecualian

touchDeviceadalah null.

Berlaku untuk