SystemBackdrop.GetDefaultSystemBackdropConfiguration 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
에 전달할 수 있는 기본 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
매개 변수
배경의 대상입니다.
- xamlRoot
- XamlRoot
배경 대상의 XAML 루트입니다.
반환
기본 SystemBackdropConfiguration
개체입니다.
설명
반환되는 기본 SystemBackdropConfiguration 개체는 각 SystemBackdrop 사용 컨텍스트(connectedTarget
)에 대해 자동으로 설정되고 유지 관리되며 ISystemBackdropControllerWithTargets.SetSystemBackdropConfiguration에 전달될 수 있습니다. 수신하는 의 속성 SystemBackdropConfiguration
값은 시간이 지남에 따라 변경될 수 있습니다.
테마: 대상 요소(에서
xamlRoot.Content
가져온)의 를 기반으로ElementTheme
설정합니다., , 또는 가 재질의 구현에 의해 수정되면 연결된 SystemBackdropConfiguration.Theme의 변경 내용이 더 이상 컨트롤러의 테마를 자동으로 전환하지 않습니다(기본 어둡게 및 밝은 구성이 더 이상 적절하지 않으므로).
TintOpacity
TintColor
LuminosityOpacity
FallbackColor
이 경우 재질의 모양 속성을 SystemBackdrop.OnDefaultSystemBackdropConfigurationChanged의 새 테마와 일치하도록 수동으로 업데이트해야 합니다.IsInputActive:
true
의SystemBackdrop
대상이 활성 창에 있으면 이고,false
그렇지 않으면 입니다.IsHighContrast:
true
의SystemBackdrop
대상이 고대비 모드이면 이고,false
그렇지 않으면 입니다.