ApplicationView.IsViewModeSupported(ApplicationViewMode) 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.
Determines whether the specified view mode is supported on the current device.
public:
virtual bool IsViewModeSupported(ApplicationViewMode viewMode) = IsViewModeSupported;
bool IsViewModeSupported(ApplicationViewMode const& viewMode);
public bool IsViewModeSupported(ApplicationViewMode viewMode);
function isViewModeSupported(viewMode)
Public Function IsViewModeSupported (viewMode As ApplicationViewMode) As Boolean
Parameters
- viewMode
- ApplicationViewMode
A value of the enumeration that indicates the desired view mode.
Returns
Boolean
bool
true if the specified view mode is supported; otherwise, false.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|