Selecting text across the elements
I am working on a UWP app where i will get the text content and their respective X and Y coordinates. I need to render this text in UI in the respective coordinates, I have achieved this through canvas panel and text block but here i face another…
Handling of UWP child window closing behavior
Hello UWP experts , I create the child windows from the main app using the below code. The requirement is at the start dont allow the user to close of window and allow only after 10 to 20 seconds. I couldn't find any pre close event for the child…
Issues with Access Permissions in PhoneLineTransportDevice API on Windows 11
I am currently working on a hands-free application on Windows and using the PhoneLineTransportDevice API. To utilize the features of this API, I initially request access permissions using the PhoneLineTransportDevice.RequestAccessAsync() method. This…
Visual Studio 2022 community crashes
Hello, I'm making my uwp app on c# with vs2022 community version. When I click "Visual assets" tab on Package.appxmanifest, the VS2022 crashes. How to reproduce: create an empty app (c# uwp) open Package.appxmanifest on for all visual…
Minimize App when all you have is AppUserModelId
I get all the apps from AppsFolder: `ShellObject appsFolder = (ShellObject)KnownFolderHelper.FromKnownFolderId(AppEntry.AppsKnownFolderId);` ```which I enumerate and display each app in a list (name and icon from the shell object). The user selects an…
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
Is there a manual bible for learning about visual studio community 2022 c# uwp on coding
Is there a manual bible for learning about visual studio community 2022 c# uwp on coding
![](https://techprofile.blob.core.windows.net/images/JNJleaYm4Uijg51nX4dRAA.png?8DC3AC)
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
Switching Between System Power Saving Mode in UWP app ,makes the app non-responded for a while
My UWP app was not responding for sometime, when switching between power Saving mode(windows settings) while App was running. To Reproduce the issue , Run the app Open Windows System Battery Settings -> Enable/Disable Power Saving Mode Now try to…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
How do I make a uwp app like bom on visual studio 2022
How do I make a uwp app like bom on visual studio 2022 [http://www.bom.gov.au/]
![](https://techprofile.blob.core.windows.net/images/JNJleaYm4Uijg51nX4dRAA.png?8DC3AC)
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
How to make UWP MediaElement to be loop mode when casting to a TV?
I find that when using UWP MediaElement (component name: video), it works well to be in loop mode when set as below: video.IsLooping = true; // method 1 video.MediaEnded -= Video_MediaEnded; video.MediaEnded += Video_MediaEnded; // method 2 private…
What different other types of Azure maps are there for a Hybrid aerial view with roads and a search bar with more functions like google earth on visual studio 2022
What other different types of Azure maps are there for a Hybrid aerial view with roads and a search bar with more functions like google earth on visual studio 2022
![](https://techprofile.blob.core.windows.net/images/JNJleaYm4Uijg51nX4dRAA.png?8DC3AC)
![](https://techprofile.blob.core.windows.net/images/Tc-7nv2_BgAAAAAAAAAAAA.png?8D9A0A)
App testing error
Hello, I attached my app with Windows Store (using option in VS). Next, I made a package. Next, I try to validate It (runing test in VS). I get such error. How to solve such problem. I think that my app is already signed, and I dont know how to sign it…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
Windows是否有监听蓝牙配对请求的方式
pc蓝牙与手机配对连接过,但在某一个时刻用户将手机的蓝牙解除配对了,此时pc上要使用蓝牙连接需要先配对,此时是否有接口可以知道有这个配对的请求?
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
Change RadioButton Color in Combined States - WinUI/UWP
Hello. I'm trying to change the radio button color according to combined states: CheckedPressed, UncheckedPressed, CheckedPointerOver, CheckedDisabled, UncheckedDisabled. How can I do that? I added these states but didn't work.
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
In UWP or WinUI3, how to use AutoSuggestBox as the search box and highlight the matching keywords in red in the search result list
AutoSuggestBox is a good control in WinUI3. I use it as a search box and display search results. But how to achieve more advanced functions, such as highlighting keywords in the results ( ex, one of the result is 'powered by Microsoft', and only…
Set cover image to MediaPlayerElement in C# uwp for audio files
In my C# uwp project, i want to set a cover image to my MediaPlayerElement object, when an mp3 (or other audio file) loaded. I have tried the PosterSource property, but after i have been loaded a file in my mediaplayer, the postersource disappeared. I…
UWP NavigationView Selected Item as CommandParameter in MVVM Community Toolkit
UWP/XAML experts , How to set the selecteditem tag value as the CommandParameter in NavigationView SelectionChanged? Using community MVVM toolkit here. In example below the tag value is 3456 and would change dynamically . CommandParameter="{Binding…
Setup app for website without using msix installer (e.g. using .exe installer)
Our application supports apps for websites using app URI handlers. However some older computers or domain computers with certain policies cannot install apps packaged in msix installer. Is there a way to register your app to handle links…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
Change Grid Margin Using Visual State | UWP, WinUI3
I have a grid inside a Style. If this grid has a width > 640 I'd like to change its background for red. If the grid width <= 640 I'd like to change the background for yellow. How can I do it only using xaml, without code behind? Obs: It is the grid…
Integrating a new child UWP exe/app in an existing parent UWP app
How can I integrate a new status updater app, which should be part of an existing parent UWP app project and package? The new status updater app will use WinUI libs and UWP xaml libs and be part of the UWP app store app. The parent UWP app should…
Using Nuget Package in runtime library
Hello, I have a runtime library, where I have some classes which I use in my apps. One class in the library uses nuget package. I compile the library and attach to my app. Next I try to use the class in the app in Page Loadded event which such…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)