ApplicationView.IsViewModeSupported(ApplicationViewMode) ApplicationView.IsViewModeSupported(ApplicationViewMode) ApplicationView.IsViewModeSupported(ApplicationViewMode) ApplicationView.IsViewModeSupported(ApplicationViewMode) ApplicationView.IsViewModeSupported(ApplicationViewMode) Method

Definition

Determines whether the specified view mode is supported on the current device.

public : Platform::Boolean IsViewModeSupported(ApplicationViewMode viewMode)
bool IsViewModeSupported(ApplicationViewMode viewMode) const;
public bool IsViewModeSupported(ApplicationViewMode viewMode)
Public Function IsViewModeSupported(viewMode As ApplicationViewMode) As bool
var bool = applicationView.isViewModeSupported(viewMode);

Parameters

viewMode
ApplicationViewMode ApplicationViewMode ApplicationViewMode

A value of the enumeration that indicates the desired view mode.

Returns

bool bool bool

true if the specified view mode is supported; otherwise, false.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)