Share via


Window.SystemBackdrop 속성

정의

Window에 적용할 시스템 배경을 가져오거나 설정합니다. 배경은 콘텐츠 뒤에 Window 렌더링됩니다.

public:
 property SystemBackdrop ^ SystemBackdrop { SystemBackdrop ^ get(); void set(SystemBackdrop ^ value); };
SystemBackdrop SystemBackdrop();

void SystemBackdrop(SystemBackdrop value);
public SystemBackdrop SystemBackdrop { get; set; }
var systemBackdrop = window.systemBackdrop;
window.systemBackdrop = systemBackdrop;
Public Property SystemBackdrop As SystemBackdrop

속성 값

Window에 적용할 시스템 배경입니다.

예제

이 예제에서는 Mica Alt를 사용하도록 를 SystemBackdrop 설정하는 방법을 보여 줍니다.

<Window
    ...>
    <Window.SystemBackdrop>
        <MicaBackdrop Kind="BaseAlt"/>
    </Window.SystemBackdrop>

    <Grid RowDefinitions="*,*">
        <!-- This area has a transparent background, so the Mica
         backdrop will be mostly visible. For example, if there are
         buttons here, the backdrop will show up in the margins
         and gaps between the buttons. -->
        <Grid Background="Transparent"></Grid>

        <!-- This area has an opaque background,
         so the Mica backdrop won't be visible. -->
        <Grid Grid.Row="1" Background="Gray"></Grid>
    </Grid>
</Window>
public MainWindow()
{
    this.InitializeComponent();

    SystemBackdrop = new MicaBackdrop() 
                        { Kind = MicaKind.BaseAlt };
}

설명

시스템 배경에 대한 자세한 내용은 Windows 11 재질을 참조하세요.

배경은 Window.Content에 지정된 콘텐츠 뒤에 렌더링됩니다. 모든 콘텐츠가 완전히 불투명하면 이 배경은 표시되지 않습니다.

적용 대상

추가 정보