Most voted "uwp" questions
UWP is the abbreviation for Universal Windows Platform, which is a platform created by Microsoft that allows developers to have only one code that works on any device in the Windows Onecore family, which includes virtual and augmented reality devices, consoles, computers, tablets, hybrids, mobiles, Iot devices (like a refrigerator) and many other devices can use your app.
Learn more…62 questions
Sort by count of
-
13
votes2
answers505
viewsIs it possible to program using the Winrt API without resorting to XAML?
Some time ago declarative languages took over the development of software for creating graphical user interfaces. The most obvious examples are the framework WPF that uses XAML (Extensible…
-
4
votes1
answer220
viewsDevelop Windows 10 and Windows 8 compatible application
I am working on an application that we use Windows Forms to develop its alpha version. Soon, we will start developing a more stable version of this system, and, it was then that the support…
-
3
votes3
answers96
viewsLink selection between two Listviews
It would be possible to link the single selection between two objects ListView via Xaml? For example, I have two ListView, the TopListView and the BottomListView, both configured for simple…
-
2
votes1
answer89
viewsHow to use Facebook login on the universal Windows platform?
I’m trying to build Facebook login into an app so it works using the app or website according to the tutorial: http://facebooksdk.net/docs/windows/config/ There is a similar question, but that does…
-
2
votes1
answer48
viewsUniversal Apps 8.1 on Windows 10
Does Windows 10 have backward compatibility with Universal Apps from Windows 8.1? That is, applications written in for Windows 8.1 run on Windows 10?…
-
2
votes1
answer54
viewsWhat are Staticresources and Dynamicresources in WPF?
When I use Resources in WPF, I can specify them as much as StaticResource, as DyanamicResource. However, most of the time only one works, and the other would initiate an exception. Starting from…
-
2
votes2
answers79
viewsColor Visualization and New Creation
I need to make use of the class Colors defined in namespace Windows.UI. There are many colors available and I need to find a way or place to see a preview of these colors, because only by name it is…
-
2
votes1
answer204
viewsHow to create a compound index in Sqlite via Microsoft.EntityFrameworkCore.Sqlite?
I’m trying to create a unique composite index, but I don’t know how to do it on Microsoft.EntityFrameworkCore.SQLite, I’m used to working only with the Doctrine and Hibernate and I’m totally lost.…
-
2
votes1
answer84
viewsAlphabetical ordering in Listview equal to the People App
I’ve been searching how to make a list like the App People (People) contact list of Windows 10 and found a good one example. But the example does not implement the alphabetical ordering that exists…
-
2
votes1
answer113
viewsFloating menu on a webview - UWP
I wish you could guide me on one thing. How to do when I right click on a link opened in a Webview open a menu of options with functions such as copy link and open link?…
-
2
votes1
answer134
viewsCreate a background server
It is quite simple, this code works, but only once, after the first time it is started no other request is answered, as if after it runs once the Streamsocketlistener stops. public void…
-
2
votes1
answer202
viewsEncrypt in UWP and Decrypt in Web API
I’m trying to encrypt a string in a UWP (Universal Windows Platform) application and decrypt the string in a Web API application. The problem is that I can’t find/modify an algorithm common to both…
-
2
votes3
answers258
viewsIs there a way to dynamically add attribute to instantiated object in C#?
Well, in C# we put attributes as follows: [Required("Este campo é obrigatório")] public string Nome {get; set;} What I would like to know is whether there is a way to add attributes dynamically to…
-
1
votes1
answer47
viewsUWP XAML Frame.Navigate to page with parameter
I have two pages and I want to navigate from one to the other. Only the second page has a parameter that should be received from the first. ... class MainPage { MainPage() { InitializaComponent(); }…
-
1
votes1
answer25
viewsRemove UI Debugging Tools from Window
I would like to know how to remove the option UI Debugging Tools for XAML appears at the top of the window WPF (as shown below)…
-
1
votes0
answers61
viewsFailed to load Resouces from a Resource File
I’m trying to make my Xamarin application internationalize. I followed the tutorial (https://developer.xamarin.com/guides/xamarin-forms/advanced/localization/) that works on Android, however, when…
-
1
votes1
answer32
viewsClass Library (Portable) UWP + WPF
I created a simple project Portable Class Library that is being used in two projects WPF e UWP. The two projects work normally, however, the project UWP when compiling displays the following error…
-
1
votes1
answer47
viewsHow does C# run in the universal app?
I started studying the universal Windows 10 app and saw that the execution mode is different from Win32 or . Net, since it uses Winrt that calls directly to the system kernel, leaving languages like…
-
1
votes1
answer50
viewsUniversal app win 10 alert
I need help to send out an alert signal on the app I’m trying to develop. Initially I thought of showing a textblock flashing in red on the screen. if anyone has another option better help me or…
-
1
votes1
answer39
viewsSystem.Runtime.Remoting.Remotingexception no Designer XAML VS2015
I have a problem in Visual Studio. When I create a new UWP10 project in white, it comes the basic code. <Page x:Class="FoxMovieStoreMain.MainPage"…
-
1
votes1
answer184
viewsEvent item Combobox
I have a combobox and would like when I selected the date item to make the datapick visible. How to perform this operation?
-
1
votes0
answers163
viewsMapping issues in Microsoft.Entityframeworkcore
I am trying to create in a class two Mappings Manytoone using the Entity Framework, but I’m not succeeding, if I take either of the two mappings and leave the other, it works but if I leave the two…
-
1
votes2
answers122
viewslistbox with database records
With this code I create an item in the listbox with the id number, I would like it to create an item for each id record you have in the database. Database: Mysql Code: UWP C# using (_connection =…
-
1
votes1
answer56
viewslistbox item (UWP)
With this code I add items to listbosx with the amount of record I have. How to have a check before to know if the entry of that record has been added and not act item with the same id number?…
-
1
votes1
answer36
viewsApp UWP connects SQL Server 2012 without Webservice?
I need to develop a UWP application in C#/XAML for use in the industry for data collection via Lumia 640 XL cell phone with Windows 10 Mobile. All persistence (CRUD) will be in SQL Server 2012 in…
-
1
votes0
answers97
viewsJson deserialization with Datacontractjsonserializer Null Pointer Exception
At first I’m doing a test if I can communicate properly with the Wikipedia API. My first goal is to take data from the API, turn it into an object and present something on the screen that…
-
1
votes0
answers24
viewsError publishing UWP to WINDOWS STORE
I’m having the following error when publishing to Windows store (microsoft). API Createfilew in kernel32.dll is not supported for this application type. Mysql.Data.dll calls this API How to remove…
-
1
votes0
answers61
viewsVB.NET - How to make a Loopback Serial Test program in Universal Windows Platform?
I have a problem translating the code C# to VB.NET on the UWP platform making a Serial UART Test Example made available by the Microsoft website. The program in C# is working perfectly, but when I…
-
1
votes1
answer82
viewsPopular Listview UWP C#
I’m using a bank in sqlite, already done and with data in my application UWP and trying to display in a listview the data in the table Marcas. What I’ve done so far is create a class Marcas: public…
-
1
votes0
answers46
viewsDevelop Plugin for Windows Desktop
I am developing a Cordova plugin for windows desktop and need to use some native functions, I will have to use Windows Runtime. I started by following a tutorial and I have the following structure:…
-
1
votes0
answers21
viewsProgressiring is not shown
I need to show the progressringduring the execution of a task, but it does not appear and the screen is frozen until the execution of the task. private async void btn_Criar_Click(object sender,…
-
1
votes0
answers16
viewsUWP Community Toolkit, Datagrid control : how to align cell content on the right
I have a numerical column in a Datagrid that I want your content to be right aligned. I I read the documentation, chiefly Customizable templates and styling for Cells, Rows and headers where I…
uwpasked 6 years, 2 months ago João Santana 31 -
1
votes1
answer38
viewsUWP XAML Listview.Itemtemplate does not follow the column spacing defined in Listview.Headertemplate
I’m writing an app with ListView defined below: <ListView x:Name="TodosRecibos"> <ListView.HeaderTemplate> <DataTemplate> <Grid Padding="12" Background="Transparent">…
-
1
votes0
answers29
viewsMvvmlight Event to Command using Model for Command Parameter
I’ve been trying to use Mvvmlight’s Event to Command to link my Viewmodel commands to events like Textchanged from Textbox, for example. But Event to Command automatically assumes that the Command…
-
0
votes1
answer88
viewsHow to scale images for apps?
I’m starting a project for an app I plan to build that will be compatible with UWP + Android + iOS. Also, I would like it to be compatible with phones, tablets and Desktops. And it’s my first time…
-
0
votes0
answers33
viewsUWP Inkcanvas medium rubber
I’m doing a UWP application where I have Inkcanvas, and I implemented the eraser to erase the drawings I made, but the Erasing mode is like the Onenote trace eraser, however what I need is the…
-
0
votes0
answers55
views[UWP][C#] How to stop the announcement of a service on the local network (unregisterService on android) with the Windows API.Networking.Servicediscovery.Dnssd
The problem I am encountering is that I am not being able to delete a dns-sd service from the local network. With the Registerseservice method the dns-sd service is created correctly, but I do not…
-
0
votes1
answer5745
viewsFailure to reference a nuget package
After installing the W10 Anniversary Update, I’ve been trying to build an open source project that I normally did before and now can’t. I get the following error in the output of Visual Studio 2015…
c# visual-studio visual-studio-2015 nuget uwpasked 8 years, 4 months ago José Camelo de Freitas 407 -
0
votes1
answer144
viewsMVVM and Binding for different classes
If in the Viewmodel Model View pattern I have: Mainpagemodel.Cs Mainpageviewmodel.Cs Mainpage.Cs Mainpage.xaml MainPage.cs is also part of my layer View? If so, it is to her that I must delegate the…
-
0
votes1
answer61
viewsHow to resize an image using UWP?
I have that code: var file = await ImageChooser.GetSelectedImageAsStorageFile(); var sasUri = await Vm.GetBlobSasUri(file.Name); var blob = await file.UploadToBlob(sasUri); await…
-
0
votes0
answers43
viewsSystem.Runtime.Serialization on UWP 10
I’m making an exception in a UWP, however, it seems that apps UWP do not have the same resources for serialization as classic applications. The code below does not work for UWP. using System; using…
-
0
votes1
answer43
viewsUWP Horizontal alignment of streaks in a Relativepanel
I’m creating a Hambugermenu similar to the Win10 Apps. The basis of Hambugermenu is SplitView and to distribute their children in the SplitView I chose to use a RelativePanel so I can choose which…
-
0
votes2
answers277
viewsTime execution in time
As I do in the universal app win 10 to perform a code execution of 10 in 10 sec. In the form would use adding a team. Please help me.
-
0
votes2
answers103
viewsDo you doubt the mysql database query?
How to create a code to check if there is a new record in the database? EX: id = 2 has been entered, I need to create a code that will generate a notification every time a new id appears.…
-
0
votes2
answers479
viewslast Mysql record
How to know the last ID record in the table and play the number in a textblock? using (_connection = new MySqlConnection("Database=test;Data Source=localhost;User…
-
0
votes1
answer49
viewsCheck value textbox x mysql (universal app win 10)
I have a textbox where I save a value. I wonder if this value is the same as the last id in my mysql database table. How do I do this?
-
0
votes1
answer184
viewsUWP Desktop and database
I’m developing an application for leasing-related business management purposes. The trivial CRUD, reports, controls etc, commonly developed in windows Forms. However, I am making a UWP application.…
-
0
votes2
answers49
viewsDatapicker Mysql
How to take the value that is in datepicker and do a search in the database? I tried this way but it is not correct var cmd = new MySqlCommand("SELECT distinct id, Pedagio, Carro, Placa, Fabricante,…
-
0
votes0
answers21
viewsProblem to publish application with Microsoft Advertising
I created a program in UWP paid version and another in Free version that contains Microsoft Advertising. When I try to send the application to be published give me an error in the Free version. Your…
-
0
votes1
answer176
viewsHow to get data from Mysql Database?
I have this code snippet where it takes the information from a database field and goes to textBlock, but now I need to fill in some textblock. EX: In the database has name=maria Rg=123 Cpf=456 ai in…