StatusBar 클래스

정의

앱 보기(창)와 연결된 상태 막대와 상호 작용하기 위한 메서드 및 속성을 제공합니다. 상태 표시줄은 시스템이 화면의 위쪽 가장자리(일반적으로)에 표시되는 사용자 환경으로, 사용자가 디바이스의 동작을 제어하고 진행 상황을 표시할 수 있습니다.

public ref class StatusBar sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class StatusBar final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class StatusBar
Public NotInheritable Class StatusBar
상속
Object Platform::Object IInspectable StatusBar
특성

Windows 요구 사항

디바이스 패밀리
Windows Mobile Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Phone.PhoneContract (v1.0에서 도입되었습니다.)

설명

이 형식의 개체를 가져오려면 StatusBar.GetForCurrentView를 호출합니다.

속성

BackgroundColor

상태 막대의 배경색을 가져오거나 설정합니다. 색의 알파 채널이 사용되지 않습니다.

BackgroundOpacity

상태 막대의 배경색 불투명도를 가져오거나 설정합니다.

ForegroundColor

상태 막대의 전경색을 가져오거나 설정합니다. 색의 알파 채널이 사용되지 않습니다.

OccludedRect

현재 상태 표시줄에 의해 가려진 코어 창의 영역을 가져옵니다.

ProgressIndicator

상태 표시줄의 진행률 표시기를 가져옵니다.

메서드

GetForCurrentView()

현재 창(앱 보기)의 상태 표시줄을 가져옵니다.

HideAsync()

상태 막대를 숨깁니다.

ShowAsync()

상태 표시줄을 표시합니다.

이벤트

Hiding

이 이벤트는 상태 표시줄을 숨길 때 발생합니다.

Showing

이 이벤트는 상태 표시줄이 표시될 때 발생합니다.

적용 대상