Share via


DisplayArea.GetFromWindowId(WindowId, DisplayAreaFallback) Method

Definition

Gets the DisplayArea for the specified WindowId.

public:
 static DisplayArea ^ GetFromWindowId(WindowId windowId, DisplayAreaFallback displayAreaFallback);
 static DisplayArea GetFromWindowId(WindowId const& windowId, DisplayAreaFallback const& displayAreaFallback);
public static DisplayArea GetFromWindowId(WindowId windowId, DisplayAreaFallback displayAreaFallback);
function getFromWindowId(windowId, displayAreaFallback)
Public Shared Function GetFromWindowId (windowId As WindowId, displayAreaFallback As DisplayAreaFallback) As DisplayArea

Parameters

windowId
WindowId

The identifier of the window for which to get the DisplayArea.

displayAreaFallback
DisplayAreaFallback

The DisplayArea to use if no DisplayArea is found with the given parameter.

Returns

The DisplayArea for the specified WindowId, or the display area indicated by displayAreaFallback if no match is found.

Applies to

See also