Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 1, 2024. It is now read-only.
/Xamarin.FormsPublic archive

UWP screen capture & WPF new windows#15653

Unanswered
xamarin2023 asked this question inGeneral
Discussion options

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 vianew GraphicsCapturePicker().PickSingleItemAsync().

I setup a WPF project but ran into a barrier with opening windows. I haven't found the WPF equivalent ofvar 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?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
1 participant
@xamarin2023

[8]ページ先頭

©2009-2025 Movatter.jp