इसके माध्यम से साझा किया गया


ApplicationView.IsViewModeSupported(ApplicationViewMode) Method

Definition

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)

Applies to