-
I am implementing a custom I do figured out how to get the content inside the void CustomAcrylicBackdrop::OnTargetConnected(winrt::Microsoft::UI::Composition::ICompositionSupportsSystemBackdrop const& connectedTarget, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot)
{
xamlRoot.Changed([this, target = winrt::make_weak(connectedTarget)](winrt::Microsoft::UI::Xaml::XamlRoot const& root, winrt::Microsoft::UI::Xaml::XamlRootChangedEventArgs const& arg)
{ /*root.Content() is the direct child inside the Microsoft.UI.Xaml.Window*/ }
} |
Beta Was this translation helpful? Give feedback.
Answered by
codendone
Jun 11, 2024
Replies: 1 comment
-
There's no way to walk from those parameters back to the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HO-COOH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no way to walk from those parameters back to the
Window
.