Questions tagged as 'uwp'

2
answers

Is it possible to program using the WinRT API without using XAML?

For some time now, declarative languages have taken over the development of software for creating graphical user interfaces. The most obvious examples are the framework WPF that uses XAML (eXtensible Application Markup Language) as a declara...
asked by 23.12.2013 / 13:12
3
answers

Link selection between two ListViews

Would it be possible to bind the unique selection between two ListView objects via XAML? For example, I have two ListView , TopListView and BottomListView , both configured for simple selection, ie only one item can...
asked by 08.01.2017 / 18:32
1
answer

Develop application compatible with Windows 10 and Windows 8

I'm working on an application that uses Windows Forms to develop its alpha version. Soon, we will start developing a more stable version of this system, and it was then that support platforms became the focus of our discussions. We have the d...
asked by 14.02.2017 / 14:23
2
answers

Visualization of Colors and creation of new

I need to make use of the class Colors defined in the namespace Windows.UI . There are many colors available and I'm having to find a way or a place to see a preview of those colors, because only by name is difficult to know...
asked by 31.12.2016 / 20:59
3
answers

Is there any 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 dynamically add attributes to instantiated objects. Like the following h...
asked by 26.05.2018 / 17:04
1
answer

Create a background server

It is very 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 has stopped. public void Run(IBackgroundTaskInstance taskInstance) { va...
asked by 24.02.2017 / 04:22
1
answer

How to create a composite index in SQLite via Microsoft.EntityFrameworkCore.SQLite?

I'm trying to create a single compound index, but I do not know how to do this in Microsoft.EntityFrameworkCore.SQLite , I'm used to working only with Doctrine and Hibernate and I'm totally lost. This is my template class:...
asked by 05.01.2017 / 16:00
1
answer

Alphabetical sort in ListView equal to App People

I've been researching how to make a list equal to the contact list of the People App of Windows 10 and found a good example . However, the example does not implement the alphabetic ordering that exists in the People app (image below)....
asked by 14.01.2017 / 19:44
1
answer

Universal Apps 8.1 on Windows 10

Does Windows 10 have backward compatibility with Universal Apps for Windows 8.1? That is, applications written in for Windows 8.1 run on Windows 10?     
asked by 19.12.2016 / 22:25
1
answer

What are StaticResources and DynamicResources in WPF?

When I use resources in WPF, I can specify them as StaticResource , as DyanamicResource . However, most of the time only one works, and the other would start an exception. From this point, I have the following doubts: What i...
asked by 24.12.2016 / 19:00