how do I find the working area of my uwp app in .net using C#
This is a simple question but I'm having a rough time finding an answer. What I want to find is the working area of my application. I'm working in Visual Studio 2022 and have created the basic project. Searches on the internet result in many answers…
UWP, c++\cx, Memory leak with file and folder management
UWP application, c++\cx language, 10.0.17763.0 target platform: if I create a loop that creates and then destroys a directory then the committed memory of the process grows indefinitely. On a machine with 32GB of RAM and 1T of disk I got up to 5GB of…
How do I make a home button for a uwp web browser app made on visual studio 2022
How do I make a home button for a uwp web browser app made on visual studio 2022
How do I make a home button for a uwp web browser app made on visual studio 2022
How do I make a home button for a uwp web browser app made on visual studio 2022
How to use C++/WinRt API like as part of DLL without user interface(UI)
Hi, I am attempting to utilize the C++/WinRT code provided in the sample of LampArray, cppwinrt to create a DLL. However due to the tight coupling of this sample with the UI, I am not able to use below API independently within my DLL code, without…
Draw rectangle with corner radius and fit an image bytes to that rectangle with same corne radius
Below I attached my code I need an image with a border and corner radius, please correct my code, and give any other guidelines CanvasRenderTarget renderTarget = new CanvasRenderTarget(device, cardWidth, cardHeight, dpi); using…
Is it possible to have a floating panel on top of main window?
I see that creating a another window in UWP is extremely difficult. Is it possible to let a panel or something floating like a tool window on top of main window?
Need help on XAML syntax for ThemeResource and binding in DataTemplate
I have the following code and XAML: class FileCategory { public string Code { get; set; } public string Name { get; set; } } <!-- <Page.Resources> section contains theme resources --> <ComboBox.ItemTemplate> …
Enable FrameworkElements reflection using rd.xml file
Hello, Reading Microsoft docs I found informations about rd.xml file. Can I set in that file that metadata from FrameworkElements or Shapes wont be removed during compilation? And I will be able to fully using reflection after release type…
Communication channel between a windows app and UWP app
I have a UWP project and a Windows app (.NET 5) both installed on the same machine, which will also be the case in production. However, the UWP app is sideloaded and not installed via the Windows Store. The Windows app retrieves data by listening to a…
Is Microsoft.Toolkit.Uwp.UI.Controls.DataGrid still alive?
I think I need this wonderful control. The official package (https://www.nuget.org/packages/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid) shows last update is more than one year ago. Is it still alive? Can I still use it in my new UWP projects?
How to remove Bottom Border Textbox | UWP
Hello. I have a native TextBox and I'd like to remove this blue border-bottom in Light and Dark: Focus State: Rest: I'd like to remove all these bottom borders. However, if my SO is in High Contrast mode, I'd like to keep these native borders: …
How implement a XAML control that is similar with WIN32 listview?
In traditional WIN32 SDK, we have a ListView control with column headers (like the one we have in file Explorer). How to implement similar control using XAML? I did some research and GridView seems very promising. The official UWP samples repo on GitHub…
Not working as expected web to app Uri Handlers?
Hi, I was trying to launch my application by associating my own website to it. Was following the instructions mentioned in the document, by building a packaged application. Reference:…
I’ve made a uwp app like google earth I need help with some code for putting into app Functions like changing map appearances Eg: Dark, Animation, satellite AerialWithRoads, Traffic Flow I want to keep my Search Bar on visual studio 2022
I’ve made a uwp app like google earth I need help with some code for putting into app Functions like changing map appearances Eg: Dark, Animation, satellite AerialWithRoads, Traffic Flow I want to keep my Search Bar on visual studio 2022
New to coding, looking for direction in what needs to be installed to code Windows Apps
Good evening everyone. So my last experience with programming was QBasic for my VIC-20, since it had very limited RAM and CPU was limited, some programs I had to code in binary, some is rudimentary assembly and my favourite back then was QBasic, it was…
How do I know when a binding is complete?
I have a CombBox like below: <ComboBox x:Name="fileTypeListBox" ItemsSource="{x:Bind local:App.fileCategories}" SelectedValuePath="Code" …
How I get 300 DPI with 648 X 1016 Using SKBitmap
I am trying to PNG image to BMP image via using SKBitmap, the BMP image not set in 300 DPI why? below i mentioned my code, if there is any mistakes please correct my code using (SKBitmap pngBitmap = SKBitmap.Decode(inputFilePath)) { …
while i use the API : var PDevice = PhoneLineTransportDevice.FromId, it return null
I use the below codes, try to get the PhoneLineTransportDevice, but the API FromID returns null //this API works well, can get the DeviceInformation DeviceInformationCollection devices = await…
How get visual items of a ComboBox using databinding?
It's a followup question of https://learn.microsoft.com/en-us/answers/questions/1656636/how-do-i-know-when-a-binding-is-complete. The ComboBox is databound using ItemsSource, now I don't have control of the Items property because it's a simply set to…