Windows Dev Center

CoreApplicationView.IsMain property

Gets a value that indicates whether this app view is the main app view or not.

Syntax


public bool IsMain { get; }

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

If true, this app view is the main; if false, it is not.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.winmd

See also

CoreApplicationView

 

 

Show:
© 2015 Microsoft