مشاركة عبر


RadialController.ScreenContactContinued Event

Definition

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:

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