Questions tagged [xamarin.uwp]

Questions about Xamarin projects targeting Universal Windows Platform

Xamarin UWP allowing you to write Windows applications in C# using native Universal Windows Platform libraries.

565 questions
8
votes
1 answer

Xamarin Forms MasterDetailPage Main Page Hide Menu Button

I have a Xamarin Forms project, which targets Android, IOS and UWP. In my Xamarin.Forms Project App.cs I have set the MainPage to a MasterDetailPage inherited class. I have created a custom navigationbar, so I don't want to see the default. I have…
Sander
  • 122
  • 1
  • 8
8
votes
1 answer

How can I add a UWP target to an existing Xamarin Forms project?

I have an existing Xamarin Forms app that's setup to build for Android and iOS. I want to add a UWP target so I can see how the app performs on Windows. I assume I can do this without having to create a new UI for Windows? I'm using Visual Studio…
parsley72
  • 8,449
  • 8
  • 65
  • 98
6
votes
0 answers

Could not load file or assembly 'e_sqlite3

When I debug my UWP project I get the following error: System.IO.FileNotFoundException: 'Could not load file or assembly 'e_sqlite3, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.' The error occurs on this…
5
votes
1 answer

Xamarin.Forms UWP app failing at run time with .net native tool chain but works otherwise

I have a Xamarin.Forms UWP app (Xamarin.Forms v3.4.0.1008975, UWP target/min version 16299, VS 2017 15.9.11). When compiled without the .net native tool chain it builds and runs correctly. When compiled with the .net native tool chain it builds…
rcarrington
  • 1,485
  • 2
  • 12
  • 23
5
votes
3 answers

Change Xamarin.Forms button clicked colour

I am working on a Xamarin.Forms UWP application and I wanted to change my button's background colour when pressed. I have been searching the web and the most straightforward way I could find is this: private void Button_OnClicked(object s,…
Georgi Koemdzhiev
  • 11,421
  • 18
  • 62
  • 126
5
votes
2 answers

Xamarin form-UWP - black cell showing before data is visible on fast scrolling of list

When i scroll the list fast, each cell appears as black before data is loaded.If i scroll slowly data black cells won't appear. This behavior is happening only for Xamarin UWP project. Please find the below image for reference.
Renjith
  • 682
  • 4
  • 19
5
votes
1 answer

Xamarin.Forms.UWP Numeric Keyboard only on soft keyboard

I'm using Xamarin.Forms and want to have a numeric only keyboard for my users to login with a PIN. I am able to use Xamarin.Forms.Entry.Keyboard = Keyboard.Numeric to force a Numeric keyboard, and this works for iOS, Android and UWP Phones.…
BrewMate
  • 1,010
  • 5
  • 15
4
votes
1 answer

WinUI 3 How to set Minimum Size of a Window

So in UWP, we can use ApplicationView.GetForCurrentView().SetPreferredMinSize(new Size(500, 500)); but ApplicationView.GetForCurrentView(); returns null in WinUI 3. Is there a way to set the minimum size for a window
4
votes
2 answers

In Xamarin, how to avoid memory leak when using Navigation.RemovePage()

In my Xamarin app, I have Five pages, Page 1, Page 2, Page 3, Page 4 and Page 5. When navigating from Page 5 to Page 3, I called Navigation.RemovePage() to remove Page 4 in NavigationStack. However, there is huge memory leak when calling…
Leo
  • 49
  • 5
4
votes
2 answers

Fluent Design in Xamarin.Forms Issue

I'm trying to get the Fluent Design working on my Xamarin.Forms UWP App. I've tried different methods using a Renderer, Overwriting Styles but none of them work. The Acrylic brush always falls back to the FallbackColor. Setup: Target version:…
iNCEPTiON_
  • 611
  • 2
  • 10
  • 27
4
votes
1 answer

How to change the window title of UWP App

I create a new Xamarin project with Visual Studio and it contain projects for different platforms: MyAppName MyAppName.Droid MyAppName.iOS MyAppName.UWP When I run the UWP App, the window title bar show the name "MyAppName.UWP". I want to see only…
user2272143
  • 469
  • 5
  • 22
4
votes
1 answer

UWP: Payload contains two or more files with the same destination path

Heyho, I'm working my way through Xamarin.Forms right now and today I got the following error when I tried to Release compile the UWP project of my app (Debug is working): Payload contains two or more files with the same destination path…
Svartkabel
  • 99
  • 11
4
votes
2 answers

Render PDF in Xamarin Forms from a Stream

I have been searching the web however I have come up empty so felt the need to ask. We want to render a PDF file on iOS, Android and UWP through Xamarin Forms and the most important part, from a Stream. I have come across answers like this however…
Bijington
  • 3,661
  • 5
  • 35
  • 52
4
votes
3 answers

Xamarin Forms UWP - Unable To Debug Shared Code

I've recently started having this issue for the latest version of Xamarin Forms with .NET standard 2.0 as the code sharing strategy. I am able to place a breakpoint and stop in any code that lives in the UWP project but if I place a breakpoint in…
SolidSnake4444
  • 3,372
  • 6
  • 40
  • 63
4
votes
1 answer

Xamarin.Forms UWP - How to lock app to landscape orientation

I've created a Xamarin.Forms app that I want to only run in landscape orientation. This is easy enough for iOS, where setting the device orientation in Info.plist does the trick. But for UWP, this does not appear to work. In Package.appxmanifest…
jbyrd
  • 5,287
  • 7
  • 52
  • 86
1
2 3
37 38