다음을 통해 공유


SystemBackdrop.GetDefaultSystemBackdropConfiguration 메서드

정의

에 전달할 수 있는 기본 SystemBackdropConfiguration 개체를 검색합니다 ISystemBackdropControllerWithTargets.SetSystemBackdropConfiguration.

public:
 virtual SystemBackdropConfiguration ^ GetDefaultSystemBackdropConfiguration(ICompositionSupportsSystemBackdrop ^ target, XamlRoot ^ xamlRoot) = GetDefaultSystemBackdropConfiguration;
SystemBackdropConfiguration GetDefaultSystemBackdropConfiguration(ICompositionSupportsSystemBackdrop const& target, XamlRoot const& xamlRoot);
public SystemBackdropConfiguration GetDefaultSystemBackdropConfiguration(ICompositionSupportsSystemBackdrop target, XamlRoot xamlRoot);
function getDefaultSystemBackdropConfiguration(target, xamlRoot)
Public Function GetDefaultSystemBackdropConfiguration (target As ICompositionSupportsSystemBackdrop, xamlRoot As XamlRoot) As SystemBackdropConfiguration

매개 변수

target
ICompositionSupportsSystemBackdrop

배경의 대상입니다.

xamlRoot
XamlRoot

배경 대상의 XAML 루트입니다.

반환

기본 SystemBackdropConfiguration 개체입니다.

설명

반환되는 기본 SystemBackdropConfiguration 개체는 각 SystemBackdrop 사용 컨텍스트(connectedTarget)에 대해 자동으로 설정되고 유지 관리되며 ISystemBackdropControllerWithTargets.SetSystemBackdropConfiguration에 전달될 수 있습니다. 수신하는 의 속성 SystemBackdropConfiguration 값은 시간이 지남에 따라 변경될 수 있습니다.

  • 테마: 대상 요소(에서 xamlRoot.Content가져온)의 를 기반으로 ElementTheme 설정합니다.

    , , 또는 가 재질의 구현에 의해 수정되면 연결된 SystemBackdropConfiguration.Theme의 변경 내용이 더 이상 컨트롤러의 테마를 자동으로 전환하지 않습니다(기본 어둡게 및 밝은 구성이 더 이상 적절하지 않으므로).TintOpacityTintColorLuminosityOpacityFallbackColor 이 경우 재질의 모양 속성을 SystemBackdrop.OnDefaultSystemBackdropConfigurationChanged의 새 테마와 일치하도록 수동으로 업데이트해야 합니다.

  • IsInputActive: trueSystemBackdrop 대상이 활성 창에 있으면 이고, false그렇지 않으면 입니다.

  • IsHighContrast: trueSystemBackdrop 대상이 고대비 모드이면 이고, false그렇지 않으면 입니다.

적용 대상

추가 정보