RadialController.ScreenContactContinued Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs only when the wheel device is moved while in contact with the digitizer surface, and a custom RadialController tool is active.
Your app does not receive this event when:
- The RadialController menu is active
- A built-in tool is active
Tip
In addition to the default press and hold menu experience, the Surface Dial can also be placed directly on the screen of the Surface Studio. This enables a special "on-screen" menu.
By detecting both the contact location and bounds of the Surface Dial, the system can handle occlusion by the device and display a larger version of the menu that wraps around the outside of the Dial. This same info can also be used by your app to adapt the UI for both the presence of the device and its anticipated usage, such as the placement of the user's hand and arm.
This event occurs after ScreenContactStarted and stops on 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)
Event Type
Applies to
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla