Content
How can I customize inkToolBar with its own design
As I can customize inkToolBar with own design and included the menuflyout where the colors are, the thickness for example of the pen.


UWP XBOX Live Creators app and Store app URI scheme
Hi, I have an UWP Xbox Live Creators app in which I try to use the Store app URI schemes as explained here: https://learn.microsoft.com/en-us/windows/uwp/launch-resume/launch-store-app I implement the store detailed page as follows: …


UWP CreateOutputReport failed to create report ID
The following code has an error, System. Exception: "The data is invalid. The specified report type is not present. What is the reason? Error statement: var outputReport = hiddevice.CreateOutputReport(0); The handle was opened, but the output…
Change InkDrawingAttributes Opacity for Pen brush
I using a color picker to draw with a pen, but using this code I can't change de opacity of the pen color: InkDrawingAttributes inkDrawingAttributes = InkCanvas.InkPresenter.CopyDefaultDrawingAttributes(); inkDrawingAttributes.Color =…


UWP shows wrong MIDI device names
Hey there! UWP shows wrong names for most MIDI devices! Many ports are just called "MIDI" - which makes this library almost completely usable in any App. For example, loading output device information is done like…


How do I download files created by my own application deployed on HoloLens2 to my PC?
I am a beginner in this field. I want to download a file generated by an application deployed on HoloLens2 to my PC. I found this URL1. I tried to execute the source code of this URL1, but I could not figure out how to use the Windows.Storage class.…


[UWP] Payload contains two or more files with the same destination path
Hello, I have a fairly simple app that I would like to publish. When I try to create an app package for x86, x64 and ARM, the process returns 163 errors which all say "Payload contains two or more files with the same destination path" Here are…
Operation aborted (Exception from HRESULT: 0x80004004)
myMediaPlayerElement.MediaPlayer.IsMuted = true; The above code occasionally throws the following exception: System.Exception: Operation aborted (Exception from HRESULT: 0x80004004) Stack Trace: at…


How to play protected content with clear lead and HW DRM (SL3000)
Hello, I am developing media player using C#/UWP. We do utilize PlayReady DRM to play protected content. Our content format is MPEG-DASH with clear lead (meaning that first small part of the video is not encrypted - mostly it's around 10 seconds). The…


Listen to two (or more) properties
Hello, I am binding TextBox to UserControl myUserControl.DataContext = myTextBox; myUserControl.Height should be calculated and changed every time when myTextBox.FontSize or myTextBox.FontFamily changes. How to do such behavior. I dont…
Trying to open a device using HidDevice FromIdAsync in UWP always returns null unless using FileAccessMode.Read
I can confirm that my HID device can have read and write capabilities, because this has been verified in WPF application, where one Endpoint can read and the other can read and write. I thought it might be a permissions issue, but I defined almost…


CastingDevicePicker doesn't find the emulator
I want to stream video to the remote device in UWP C#. I use a MediaElement and CastDevicePicker. I did everything following the article - https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/media-casting. CastDevicePciker doesn't find the…


Missing AddPackageByAppInstallerOptions.ForceTargetAppRestart flag
why there is no flag such as : AddPackageByAppInstallerOptions.ForceTargetAppRestart and only AddPackageByAppInstallerOptions.ForceTargetAppShutdown ? that is not nice UX. I want to programmatically apply updates but the app should restart automatically…


Is it possible to launch command to execute commands in UWP?
Hi, I want to launch the windows command to execute the specific command with arguments in my UWP app. Is it possible? Thanks, Steven


Unable to add printSupportSettingsUI Extensions for Print Support applications (PSA)
I am getting errors and unable to use windows.printSupportSettingsUI extension is required for the Print support settings UI. I tried the below sample code provided by Microsoft's Print-support-app-design-guide documentation. …
Does XAML (UWP) Visual Designer in Blend for Visual Studio 2022 work on Windows 10?
I am trying to design a C# Maui UI in XAML. I read that you can use Blend for Visual Studio to visually program XAML code. So, I loaded a new C# Class project in Blend to attempt an XAML visual edit, though the "Design" tab says "Visual…


Win Device Geolocation
Hi there, I was reading on API guide on Windows.Devices.Geolocation https://learn.microsoft.com/en-us/uwp/api/Windows.Devices.Geolocation?view=winrt-22621. It mentioned that device will estimate a position from beacons like Wi-Fi access points…
What are the available option/alternative to perform Bluetooth Publish with ServiceUUID and other general parameters
I have looked below document which says about allowed advertisement types and only Manufacturer Data (0xFF) is only available, this makes difficult to find & proceed to write Bluetooth application and also creates compatibility limitation how can we…


RenderTargetBitmap renders low quality image of the UIElement
Hi, I have a Xamarin.Forms application deployed in UWP, in which I have added Xamarin.Forms.Image to the page and trying to convert the UIElement to image using RenderTargetBitmap, the converted image quality is reduced. Again I have added the converted…


C# UWP Page, trigger a routine when leaving or returning to a Page
Hi, I am fairly new to UWP, XAML. I have a Pivot Menu with a few pages. In each page I have two Buttons (Mic on, Mic Off) used at least three times in each page I use a tag to figure out which Button to Collapse and make Visible when…