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…
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…
UWP Child Windows Close event
UWP Experts , From the main App , I create child windows from the below code . One of the requirement is to disable the closing of window when it is opened and enable it only after certain seconds. Is there a way to achieve this? I don't see any event…
How to scroll in the tabs area in TabView in WinUI3 by using code
There are many tabs in a TabView Control in WinUI3 App. I made a function: pin a selected tab to top. After set it to the top (meaning the first tab ), I make it be selected. Everything is ok, but the first selected tab may be hidden if I had previously…
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
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…
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/]
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…
Visual Studio 2022 Xamarin Forms UWP Create App Package Error: Task 'SignAppxPackage' failed. The application has failed to start because its side-by-side configuration is incorrect.
I am trying to create an app package (for my Xamarin Forms UWP app) to upload to the windows store. I am using Microsoft Visual Studio Professional 2022 (ARM 64-bit) Version 17.8.3. In Visual Studio, I right-click on the UWP project -> Publish ->…
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
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…
Windows是否有监听蓝牙配对请求的方式
pc蓝牙与手机配对连接过,但在某一个时刻用户将手机的蓝牙解除配对了,此时pc上要使用蓝牙连接需要先配对,此时是否有接口可以知道有这个配对的请求?
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.
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…
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…