-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.UI.Input.EdgeGesture.GetForCurrentView |
winrt method |
xbox |
Gets an instance of the EdgeGesture class that is used to add and remove event delegate handlers for the current view.
The currently relevant instance of the EdgeGesture object.
This method uses the current CoreWindow of your application's CoreApplication object to determine the particular instance. That is, there is a 1:1 correspondence between different instances of EdgeGesture and CoreWindow. You cannot obtain an instance of an EdgeGesture class for another app, nor can an EdgeGesture instance be obtained for an app without a current CoreWindow.