AppWindowTitleBar 클래스

정의

앱 창의 제목 표시줄을 나타냅니다.

public ref class AppWindowTitleBar sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppWindowTitleBar final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppWindowTitleBar
Public NotInheritable Class AppWindowTitleBar
상속
Object Platform::Object IInspectable AppWindowTitleBar
특성

설명

중요

제목 표시줄 사용자 지정 API는 Windows 앱 SDK 1.2 이후 Windows 10 부분적으로 지원되며 Windows 11 완전히 지원됩니다. 앱이 다른 버전의 Windows에서 충돌하지 않도록 이러한 API를 호출하기 전에 코드에서 AppWindowTitleBar.IsCustomizationSupported를 검사 합니다. 자세한 내용은 제목 표시줄 사용자 지정 을 참조하세요.

속성

BackgroundColor

제목 표시줄 배경의 색을 가져오거나 설정합니다.

ButtonBackgroundColor

제목 표시줄 단추의 배경색을 가져오거나 설정합니다.

ButtonForegroundColor

제목 표시줄 단추의 전경색을 가져오거나 설정합니다.

ButtonHoverBackgroundColor

포인터가 위에 있을 때 제목 표시줄 단추의 배경색을 가져오거나 설정합니다.

ButtonHoverForegroundColor

포인터가 위에 있을 때 제목 표시줄 단추의 전경색을 가져오거나 설정합니다.

ButtonInactiveBackgroundColor

제목 표시줄 단추가 비활성 상태일 때 배경색을 가져오거나 설정합니다.

ButtonInactiveForegroundColor

비활성 상태일 때 제목 표시줄 단추의 전경색을 가져오거나 설정합니다.

ButtonPressedBackgroundColor

제목 표시줄 단추가 눌렀을 때 배경색을 가져오거나 설정합니다.

ButtonPressedForegroundColor

제목 표시줄 단추가 눌렀을 때 전경색을 가져오거나 설정합니다.

ExtendsContentIntoTitleBar

앱 콘텐츠가 제목 표시줄 영역으로 확장되는지 여부를 지정하는 값을 가져오거나 설정합니다.

ForegroundColor

제목 표시줄 전경의 색을 가져오거나 설정합니다.

Height

클라이언트 좌표에서 제목 표시줄의 높이를 가져옵니다.

IconShowOptions

창 아이콘이 제목 표시줄에 표시되는 방식을 지정하는 값을 가져오거나 설정합니다.

InactiveBackgroundColor

비활성 상태일 때 제목 표시줄 배경의 색을 가져오거나 설정합니다.

InactiveForegroundColor

비활성 상태일 때 제목 표시줄 전경의 색을 가져오거나 설정합니다.

LeftInset

앱 창의 왼쪽 위 모서리에 있는 시스템 예약 영역의 너비를 가져옵니다.

PreferredHeightOption

속성true이 일 때 AppWindowTitleBar.ExtendsContentIntoTitleBar 제목 표시줄의 높이 옵션을 지정하는 값을 가져오거나 설정합니다.

RightInset

앱 창의 오른쪽 위 모서리에 있는 시스템 예약 영역의 너비를 가져옵니다.

메서드

IsCustomizationSupported()

제목 표시줄을 사용자 지정할 수 있는지 여부를 나타내는 값을 가져옵니다.

ResetToDefault()

현재 제목 표시줄을 창의 기본 설정으로 다시 설정합니다.

SetDragRectangles(RectInt32[])

창의 끌기 영역을 설정합니다.

적용 대상

추가 정보