DisplayInformation.AutoRotationPreferences 속성

정의

앱의 기본 방향을 가져오고 설정합니다.

public:
 static property DisplayOrientations AutoRotationPreferences { DisplayOrientations get(); void set(DisplayOrientations value); };
static DisplayOrientations AutoRotationPreferences();

static void AutoRotationPreferences(DisplayOrientations value);
public static DisplayOrientations AutoRotationPreferences { get; set; }
var displayOrientations = DisplayInformation.autoRotationPreferences;
DisplayInformation.autoRotationPreferences = displayOrientations;
Public Shared Property AutoRotationPreferences As DisplayOrientations

속성 값

사각형 모니터의 방향입니다.

설명

이 속성은 정적입니다.

운영 체제는 앱의 자동 회전 기본 설정을 준수할 의무가 없습니다. 특히 기본 설정은 겹치는 창 모드에서 적용되지 않습니다.

적용 대상