Microsoft store UWP App
Hello UWP experts, How can we identify from the UWP code that the user has installed from the Microsoft store or from the sideload packages or dev build process from VS? Thanks
Trouble Using Latest Universal Windows Application Runtime
I rebuilding an older C++ application with Visual Studio Community Edition. I haven't worked on in a few years. I'm using the latest version of Visual Studio which I installed today. I'm running Windows 10. I ran Windows Update and it told me I was up to…
Narrator can't read Textblock in UWP app
I have a popup that contains some control. Now I want the narrator to read "Save Settings(1/6) please name your favorite setting". Because these are TextBlock, can't focus, so the narrator doesn't work. What can I do?
Binding columns and rows width in ListView
Hello, I am trying to bind ListView items columns heights to ListView Header columns heights. I typed such XAML, but it doesnt work. Is there any way to do my task? I prefer x:Bind but Binding is acceptable too. <ListView x:Name="lvLinks"…
Keyboard navigation between Panels
I have such XAML: <StackPanel TabFocusNavigation="Cycle" XYFocusKeyboardNavigation="Enabled" > <StackPanel> <TextBox x:Name="H" …
UWP VPN Plugin Issue: RasDialA Error (ERROR_PORT_NOT_AVAILABLE)
Overview: We have developed a UWP VPN Plugin, based on the samples We connect to the VPN from a Win32 application using the RasDialA/RasHangUpA APIs (not using the VpnManagementAgent WinRT API because it isn't fully functional from non-packaged…
PrintTaskOptions throws Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Hi Team, We are trying to invoke a print preview from the stream of PDF documents. While invoking the print preview we are receiving Catastrophic failure from the PrintTaskOptions while creating print preview pages. We have tried the following methods…
How to find out that StackPanel is overflowed with his content
Hello, I have a StackPanel which is sized (for example Height=600), next I add UIElements to them. How to find out that StackPanel is overflowed (oversized) with his content?
Analysing html document
Hello, I need to analyse web document. Is there any function to do this in UWP. For example I need to find all images on web page or all tables, or all links. I need to iterate throught other html blocks too. I found in net that there is something like…
Can we use UWP APIs for WinUI3 desktop Applications?
Hi, I am building a WinUI3 desktop application where I am looking for notifications. I have tried out the App Notifications which are part of Windows App SDK but I am currently looking into Badge Notifications. So, I found this Badge Notification…
how to specify WiFiDirect band
I want to create a WiFi Direct go in 5G band using WinRT WifiDirect API with 5G band, but i can't find related api to specify the Wifi Direct Band. I notice that the Mobile hotspot function which provided by window 11(Settings->Network &…
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
What is the purpose of this property? It seems I can remove it without any problems when runing an UWP app.
Memory Leak and Increased Process Memory in UWP App Load the ListBox Items when Opening the Popups with Custom ListBox View
Issue: The application's process memory exhibits a continuous increase, particularly noticeable when frequently opening and closing popups containing a custom ListBox view. This behavior suggests a potential memory leak within the UWP platform.…
Cause of System.Exception: The device does not support the command feature. (Exception from HRESULT: 0x8007013C)
WARNING! There was an error parsing the document Hello, I implemented a Gatt server in my UWP application using this documentation: https://learn.microsoft.com/de-de/windows/uwp/devices-sensors/gatt-server This allows me to use the Windows PC as a…
How do I make a uwp web browser app on visual studio 2022
How do I make a uwp web browser on app visual studio 2022
How to submit a request to Microsoft to authorize use of a specific Limited Access Feature?
I want to use the LimitedAccess Features class. According to this article: https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.limitedaccessfeatures?view=winrt-22621, I need to apply for a feature ID and use token, but I don't know where…
How to improve latency for MiracastReceiver?
I've got a working implementation of a Miracast Sink app using the MiracastReceiver class provided by Microsoft APIs but the latency is of about 250ms, which is fairly high comparing to other devices I tested. Is there any way to reduce this…
How to optimize MediaElement for live streaming?
Greetings, Currently I’m attempting to stream a H264 encoded video from another device in a local network using MediaElement XAML for the UI and MediaStreamSource as its source. This works fine but offers a noticeable delay (150-300ms). All options…
UWP and WinUI - How to check my OS version through C#
Hello. I'd like to check the user Operational System through C# in UWP and WinUI. In my case, I'd like a method to return if the OS is Windows 10 or 11. I've tried: var os = Environment.OSVersion; OperatingSystem opSys = new…
Will background task run on battery when system condition BackgroundWorkCostNotHigh is added
Hi team, I'm trying to check if background task will run on battery when system condition BackgroundWorkCostNotHigh is added, but it seems there're inconsistencies from two articles on what is the exact condition for BackgroundWorkCostNotHigh: Use the…