This repository has been archived by the owner on May 1, 2024. It is now read-only.
UWP screen capture & WPF new windows #15653
Unanswered
xamarin2023
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm porting a WinForms application to Xamarin that screen captures and opens windows.
I started off with UWP but ran into a barrier with screen capture. I don't see a way to capture all windows without user input via
new GraphicsCapturePicker().PickSingleItemAsync()
.I setup a WPF project but ran into a barrier with opening windows. I haven't found the WPF equivalent of
var appWindow = await AppWindow.TryCreateAsync(); var appWindowFrame = new Windows.UI.Xaml.Controls.Frame(); appWindowFrame.Navigate(contentPage); ElementCompositionPreview.SetAppWindowContent(appWindow, appWindowFrame); await appWindow.TryShowAsync();
.Anyone have a solution for either?
Beta Was this translation helpful? Give feedback.
All reactions