RadialController.ScreenContactContinued Kejadian

Definisi

Hanya terjadi ketika perangkat roda dipindahkan saat bersentuhan dengan permukaan digitizer, dan alat RadialController kustom aktif.

Aplikasi Anda tidak menerima peristiwa ini saat:

Tip

Selain pengalaman menu tekan dan tahan default, Surface Dial juga dapat ditempatkan langsung di layar Surface Studio. Ini memungkinkan menu "di layar" khusus.

Dengan mendeteksi lokasi kontak dan batas Surface Dial, sistem dapat menangani oklusi oleh perangkat dan menampilkan versi menu yang lebih besar yang membungkus di sekitar bagian luar Dial. Info yang sama ini juga dapat digunakan oleh aplikasi Anda untuk mengadaptasi UI untuk keberadaan perangkat dan penggunaan yang diantisipasi, seperti penempatan tangan dan lengan pengguna.

Peristiwa ini terjadi setelah ScreenContactStarted dan berhenti di ScreenContactEnded.

// Register
event_token ScreenContactContinued(TypedEventHandler<RadialController, RadialControllerScreenContactContinuedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RadialController::ScreenContactContinued_revoker ScreenContactContinued(auto_revoke_t, TypedEventHandler<RadialController, RadialControllerScreenContactContinuedEventArgs const&> const& handler) const;
public event TypedEventHandler<RadialController,RadialControllerScreenContactContinuedEventArgs> ScreenContactContinued;
function onScreenContactContinued(eventArgs) { /* Your code */ }
radialController.addEventListener("screencontactcontinued", onScreenContactContinued);
radialController.removeEventListener("screencontactcontinued", onScreenContactContinued);
- or -
radialController.onscreencontactcontinued = onScreenContactContinued;
Public Custom Event ScreenContactContinued As TypedEventHandler(Of RadialController, RadialControllerScreenContactContinuedEventArgs) 

Jenis Acara

Berlaku untuk

Lihat juga