How to use Shadow effect in the border of Flip view item.
i have a flipview item , i tried to use drop shadow but it cover in whole grid.
BadgeUpdateManager::CreateBadgeUpdaterForApplication() crashes with WinRT originate error - 0x80070490 : 'Element not found.'
Hello, I'm trying to show badge icon in the taskbar for my WinUI2 application (WinRT/C++). Below is the code snippet: // winrt::init_apartment(apartment_type::single_threaded); XmlDocument badgeXml =…
UWP App communication with another process (*.exe)
UWP Experts, We have a UWP app where we use a third party process (*.exe) and get the updates for file conversions. We call the process using .NET Process class and get the conversion updates and based on the process exit code it is decided that the…
using readAllBytes throws "file not accessible error"
I trying to read an encrypted file using the following: and getting access not allowed error. // would prefer to use the following instead of picker" // AuthFile = @"C:\vbscripts\pid.txt"; // if…
c# UWP resource directory DataTemplate with x:DataType not working
HI, using VS2022 UWP c# I am trying to put a DataTemplate into a ResourceDictionary using a x:DataType I get a compile error Severity Code Description Project File Line Suppression State Error The XAML Binary Format (XBF) generator reported syntax…
Do we need to Register the background tasks in Print Support App.?
Do we need to register the background tasks .? https://learn.microsoft.com/en-us/windows/uwp/launch-resume/register-a-background-task I am using "Extension Category="windows.printSupportWorkflow" " for the Print Support app. Because…
Loading data and splash screen time
Hello, I am loading data to the app using such code now: private async void Page_Loaded(object sender, RoutedEventArgs e) { await CreateDataBaseIfNotExists(); //creates database if it doesn't already exists. await LoadData(); //loads data to…
BackgroundTaskBuilder.Register throws HRESULT: 0x00700B7 on multiple task registration
A bit of background: I am working in an ecosystem where independent devices on a network ask a central server for things to do. Lately I've been working on a new kind of device that itself does not have a network connection, and connects to a PC with…
Attachment not attached in Outlook mail system in C# UWP
Hi, I am trying to attach a file in the Outlook mail system using C# UWP, but it's not working. It works fine in the old Mail app. Could you please help? Code: EmailMessage emailMessage = new EmailMessage(); StorageFile attachmentFile = await…
Uninstalling optional package also uninstalls main app
I'm testing the usage of the optional package using this UWP sample. With this sample I just deploy the main app and it's optional package. In the Windows "Settings/Apps/Installed apps" I see the optional package and I uninstall it, and the…
UWP app stays suspended after maximize
My UWP stays suspended even after user brings it to foreground. According to Microsoft docs it should resume from the suspension, but it doesn't. What can be the reason of such a weird behavior? https://imgur.com/a/knguaEV
How come I keep geting the errors when I use the simple shooter sample?
Theres a problem with this code: GameplayScreen.cpp `// Create a sphere primitive to represent the player.` ` // The sphere will be used to handle collisions and constrain the player in the world.` ` // It is not rendered so it is not added to the…
MediaStreamSource is not applying Bitrate Assigned to Media Encoding Profile
I am Using Media Composition To Preview Video and to Generate Stream I pass a MediaEncoding Profile wherein video Container I am assigning the bitrate that has to Apply when previewing but it's not working. MediaEncodingProfile profile =…
GridView - item remove from source collation not shown on Windows 11
I am using GridView to implement list of games with cover arts. All grid items are binded to ObservableCollection by ItemsSource="{x:Bind StoreInfo.GameInfos}" I added an option to update the game cover art. To show updated item in live I…
How to customize a caret of TextBox in UWP?
I want to make customized TextBox and I don't know how to customize the caret in UWP. I thought of these ways to make it: Change the style of the original caret directly Use a rectangle and let it blink, but how to hide the original caret or how to…
[UWP] Change Lottie Animation Color / Theme Dynamically
I have used lottie json animation in xaml uwp using "CommunityToolkit.WinUI.Lottie" and "AnimatedVisualPlayer". But for dark theme I can not see the lottie animation as the color is fixed. How can we dynamically change color of…
GridView - no frame at item selection on Windows 11
I am using GridView control in my UWP app. The grid shows games cover arts gallery. On Windows 10 i see the grid item gets a frame at item selection, but on Windows 11 no frame appears. How to make it working the same way like on Windows 10?
Adding ContentDialog item to UWP Blank App (C++/WinRT) fails to generate .g.h file?
I am trying to add a ContentDialog item to UWP Blank App (C++/WinRT) project. With a fresh project of this type I choose Add New Item > XAML > ContentDialog. Once the item is added to the project it no long builds successfully - a error 'C1083:…
inquiry about shimmer effect in uwp app
I am developing a UWP application and would like to inquire whether there are any built-in controls or effects in UWP (or any associated libraries) that can be used directly to implement shimmer effect in my app.
Custom themes and dynamic UI styles for UWP app
Hello UWP experts , We have 6 resource dictionaries having different themes , particulary app background, button colors etc... And initially from the application resources it loads the default one if user didn't select any other theme.…