InputPointerSource.PointerCaptureLost Событие

Определение

Происходит, когда указатель, соприкасающийся с этим InputPointerSource , перемещается в другой целевой объект ввода.

// Register
event_token PointerCaptureLost(TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;

// Revoke with event_token
void PointerCaptureLost(event_token const* cookie) const;

// Revoke with event_revoker
InputPointerSource::PointerCaptureLost_revoker PointerCaptureLost(auto_revoke_t, TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InputPointerSource,PointerEventArgs> PointerCaptureLost;
function onPointerCaptureLost(eventArgs) { /* Your code */ }
inputPointerSource.addEventListener("pointercapturelost", onPointerCaptureLost);
inputPointerSource.removeEventListener("pointercapturelost", onPointerCaptureLost);
- or -
inputPointerSource.onpointercapturelost = onPointerCaptureLost;
Public Custom Event PointerCaptureLost As TypedEventHandler(Of InputPointerSource, PointerEventArgs) 

Тип события

Комментарии

Это событие является последним событием, вызванным для связанного указателя.

Указатель может потерять захват либо из-за взаимодействия с пользователем, либо из-за того, что вы программными средствами захватили другой указатель или намеренно отпустили текущий захват указателя.

Применяется к