View. Get Application View IdFor Window(ICoreWindow) Method
public: static int GetApplicationViewIdForWindow(ICoreWindow ^ window);
static int GetApplicationViewIdForWindow(ICoreWindow const & window);
public static int GetApplicationViewIdForWindow(ICoreWindow window);
Public Shared Function GetApplicationViewIdForWindow (window As ICoreWindow) As Integer
Reference to the CoreWindow object that contains a window handle used by the app.
The ID of the window associated with the supplied CoreWindow.
Every view has an associated CoreWindow, which handles the core UI events for the window and manages drawing operations to the window. An app can have multiple views, with separate UI threads. Use this method to determine which window is provided by a specific CoreWindow instance managed by your app.