MediaFrameSourceInfo.GetRelativePanel(DisplayRegion) 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 the relative panel location of the provided DisplayRegion when using the associated MediaFrameSource.
public:
virtual Panel GetRelativePanel(DisplayRegion ^ displayRegion) = GetRelativePanel;
Panel GetRelativePanel(DisplayRegion const& displayRegion);
public Panel GetRelativePanel(DisplayRegion displayRegion);
function getRelativePanel(displayRegion)
Public Function GetRelativePanel (displayRegion As DisplayRegion) As Panel
Parameters
- displayRegion
- DisplayRegion
The DisplayRegion for which the relative panel location is retrieved.
Returns
A member of the Panel enumeration indicating relative panel location of the provided DisplayRegion.
Windows requirements
Device family |
Windows 10, version 2004 (introduced in 10.0.19041.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v10.0)
|
Remarks
This API is useful for hinged devices where the relative location of a DisplayRegion can vary depending on the physical configuration of the device. For more information, see PanelBasedOptimizationControl Class