uwp Questions

4

Solved

I am using autofac in an UWP application. In my App instance, I am setting up the dependency, like this: public sealed partial class App { private readonly IFacade m_facade; public App() { In...
Arboretum asked 15/4, 2018 at 14:46

2

The UWP Community Toolkit DataGrid reserves a bit of space in the column header for the sorting icon and it makes things look really strange. When you aren't using sorting (or even when a column is...
Radiant asked 17/4, 2019 at 9:54

1

I've created a WinUI 3.0 UWP application and installed the WebView2 runtime as per documentation. When I inspect the regkey and its pv property, per documentation, it is set. However, when launchin...
Plantar asked 5/11, 2020 at 18:15

5

Solved

I created a simple UWP application with no code, just XAML. <Grid> <maps:MapControl/> </Grid> If I zoom in to about US state level, the application will crash with an unhandle...
Wilburn asked 17/11, 2020 at 6:3

2

Solved

How can I change the NavigationView Pane background?? I'm trying this way: <NavigationView.Background> <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1"> <GradientStop Co...
Chirlin asked 22/2, 2018 at 13:6

0

I have a web application with an input form, one of the fields asks the user to choose a file from their PC. I noticed that the same code opens a slightly different file picker when it's running in...
Disinfectant asked 8/11, 2020 at 19:56

4

Solved

Is there a way to write to console / command prompt / powershell (like Console.WriteLine()) or anything similar in UWP apps? If console is unavailable is there a proper alternative that I can use ...
Supat asked 3/10, 2015 at 10:45

4

Solved

I am failing to add a custom font. I followed the steps here which refer to this page but the font is not used. I've added the fonts to my project The do appear in my designer views The font...
Unconcerned asked 1/9, 2018 at 14:49

1

Solved

I am trying to launch my UWP app from another UWP app. This feature is working fine for android and ios. I am using this blog for the UWP section. UWP Render Code public class OpenAppImplementation...
Bacchanal asked 5/10, 2020 at 11:34

3

Solved

I'm trying to connect to a SignalR Core hub from my UWP application. In a .NET Core application (2.1) it works perfectly, whereas in UWP it throws an exception when hub.StartAsync() is called. ...
Nicky asked 26/9, 2018 at 17:3

1

I have been trying to create a UWP class library that gives me access to Windows 10s native features such as Windows.Security.Authentication.OnlineId. I would like to get a username and ID from the...
Absorbed asked 18/7, 2016 at 19:34

5

I've added UWP project to my Xamarin.Forms solution. There is a link on the top of the page that says: Hot Reload Available but nothing happens when I change the XAML code!. as far as I've checked...
Potato asked 15/8, 2019 at 1:5

2

Solved

I have 2 applications ( A and B ) developed using Xamarin.Forms. I need to open app A from app B. I have tried like below as per this thread: In the view var appname = @"otherappId"; var ...
Quinquepartite asked 26/8, 2020 at 9:8

2

I'm facing a new problem, that occured while coding my IPC for my app. Before UWP I was able to use the directive using System.IO.MemoryMappedFiles; sucessfully. Now I can't use using System.IO.Me...
Oddfellow asked 21/9, 2015 at 8:34

4

Solved

I´m using a CalendarDatePicker <CalendarDatePicker x:Name="DatePick" DisplayMode="Decade" Date="{Binding DisplayValue, Mode=TwoWay}"/> The Problem is when i bind the Date Property the Pick...
Bastardize asked 29/9, 2016 at 16:27

2

Solved

I'm working on a user control for UWP and it updates some of its visuals upon certain calls. However, since the core .NET library has been shifted around and the threading classes have been severel...
Sophiesophism asked 20/8, 2015 at 2:13

2

Is it possible to query the metadata that is displayed when playing music on Windows 10? While I found information about displaying the metadata from a MediaPlayer with SMTC and such, I can't fi...
Leatherleaf asked 16/10, 2017 at 19:9

2

Solved

I'm using KeyDown and KeyUp handlers on Window.Current.CoreWindow to catch keystrokes in a VNC application for UWP. This works great with one exception: alt (VirtualKey.Menu/LeftMenu/RightMenu) nev...
Boarding asked 12/7, 2016 at 21:53

2

Solved

I am trying to create a native UWP view from a Xamarin Forms view. Following the example from here, I managed to do it for Android and IOS. More precisely, on IOS the conversion looks like this: ...
Gehlbach asked 13/6, 2016 at 12:18

1

Solved

When working on this tutorial on Uploading File to OneDrive from Microsoft Graph OneDrive team, I'm getting the following error at the last line of the code shown below: Remarks: There are some pos...

0

In my WinUI 3.0 - UWP project, I have a WebView2 control that displays a simple html as follows. But when I call the following javascript code using ExecuteScriptAsync (as shown below), I get the f...
Stoke asked 13/7, 2020 at 4:5

1

I have the following WinRT code which works fine to discover active VPN Profiles: VpnManagementAgent vpn; auto profiles = vpn.GetProfilesAsync().get(); wprintf(L"Found %d profiles\n", profiles.Siz...
Sympathin asked 17/10, 2018 at 12:21

2

Solved

I am creating UWP application. I wanted to know from where I can set app icon image. To be more precise: Where I should change my image for logo? The preview only shows the 24x24 image as shown bel...
Meneses asked 14/9, 2016 at 5:38

4

Solved

I am writing an app which should be able to run multiple views to edit different documents each in their own window. I've wrote some code which works, but I'm having some problems with it. The code...
Involutional asked 17/4, 2016 at 19:53

3

This short MSDN documentation says CoreWindow has ICoreWindowInterop that obtains the handle HWND to the CoreWindow. But I cannot find references on how to get it (C#). Help, please. https://msdn....
Anatomize asked 21/1, 2016 at 21:55

© 2022 - 2024 — McMap. All rights reserved.