Questions tagged as 'uwp'

1
answer

Difference between StaticResource and ThemeResource UWP uses?

To declare a TextBlock with style HeaderTextBlockStyle you can use these two ways where the result is the same: <TextBlock Text="Olá, Mundo!" Style="{StaticResource HeaderTextBlockStyle}" /> <TextBlock Text="Olá, Mundo!" Style="{Theme...
asked by 27.04.2017 / 20:30
0
answers

One control - several properties

I have a Combobox and it has as itemssource a struct with some properties, and I have a viewModel that has some properties of this struct, I want to know if there is a way to make the combobox set the parameters of the viewmodel equal to certain...
asked by 07.04.2017 / 22:16
2
answers

Error DispatcherTimer C # (Universal app win 10)

I'm new to programming and I was able to do this code with help, but an error is occurring. follow image. public sealed partial class MainPage : Page { private MySqlConnection _connection; DispatcherTimer mytimer = new DispatcherTimer...
asked by 11.03.2017 / 02:33
1
answer

UWP Horizontal alignment of flhos in a RelativePanel

I'm creating a HambugerMenu similar to Win10 Apps. The base of HambugerMenu is SplitView and to distribute the children in SplitView I opted to use a RelativePanel so I can choose which menu items will be at the top and whic...
asked by 06.01.2017 / 01:04
0
answers

System.Runtime.Serialization in UWP 10

I'm creating an exception in UWP , however, it seems like UWP apps do not have the same features for serialization as classic applications. The code below does not work for UWP . using System; using System.Runtime.Serializat...
asked by 23.12.2016 / 01:12
0
answers

UWP InkCanvas medium rubber

I'm doing a UWP application where I have InkCanvas, and I've implemented the eraser to erase the designs I've done, but the Erasing mode is like OneNote's trait rubber, however what I need would be the Average Rubber OneNote also, which would ju...
asked by 13.05.2016 / 21:15
0
answers

[UWP] [C #] How to stop the announcement of a service on the local network (unregisterService in android) with the Windows API.Networking.ServiceDiscovery.Dnssd

The problem I have is that I can not delete a dns-sd service from the local network. With the RegisterService method the dns-sd service is created correctly, but I do not know how to do this to eliminate this same service from the local network,...
asked by 10.05.2016 / 22:53
1
answer

How to scale images for applications?

I'm starting a project for an application that I want to build that will be UWP + Android + iOS compatible. In addition, I'd like it to be compatible with phones, tablets, and desktops. And it's my first time building an application for UWP,...
asked by 06.03.2016 / 13:32
1
answer

Failed to refer to a nuget package

After installing the W10 Anniversary Update, I have been trying to build an open source project that I normally did before and now I can not do it. I get the following error in Visual Studio 2015 Update 3 output: Severity Code Descriptio...
asked by 15.08.2016 / 21:04
1
answer

Connect with Mysql universal win 10 [closed]

I would like a help, as I would like to know how do I get information from a Mysql database and which will be assumed by a textblock. would they be able to help me with the code that does this? EX: In the database name = John the textblock wi...
asked by 09.03.2017 / 00:44