EdgeGesture.GetForCurrentView Method
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.
Gets an instance of the EdgeGesture class that is used to add and remove event delegate handlers for the current view.
public:
static EdgeGesture ^ GetForCurrentView();
static EdgeGesture GetForCurrentView();
public static EdgeGesture GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As EdgeGesture
Returns
The currently relevant instance of the EdgeGesture object.
Remarks
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.