DisplayProperties.StereoEnabled 属性

定义

注意

displayProperties 在Windows 8.1后可能会更改或不可用于发布。 请改用 DisplayInformation

获取一个值,该值指示设备是否支持立体 3D。

public:
 static property bool StereoEnabled { bool get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
static bool StereoEnabled();
/// [get: Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
static bool StereoEnabled();
public static bool StereoEnabled { [Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public static bool StereoEnabled { [Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = DisplayProperties.stereoEnabled;
Public Shared ReadOnly Property StereoEnabled As Boolean

属性值

Boolean

bool

如果设备支持立体 3D 且当前已启用立体 3D,则为 TRUE;否则为 FALSE

属性

适用于