Questions tagged [win-universal-app]

Windows Universal apps target multiple types of devices via a single codebase. Please specify with other tags if you refer to Windows 8.1 or Windows 10.

You can build an app for Windows and Windows Phone/Mobile at the same time, and share code, user controls, styles, strings and other assets between them. This reduces the expense associated with building and maintaining an app for each type of device.

If you already have a desktop app, you can easily add support for a mobile app. Similarly, if you start by creating a mobile app, you can easily add support for a desktop app.

Please note that since the release of Windows 10, the universal apps for that platform are called Universal Windows Platform (UWP) apps. Therefore please use suitable tags additonally:

For some more help regarding:

Use this tag for any UWP questions - whether building Windows Store Apps, UWP APIs in Win32 applications.

5610 questions
2
votes
2 answers

check checkbox when item selected in listview UWP

I am writing a UWP app with a listview. The listviewitems contain a textblock and a checkbox. When the listviewitem is selected, I would like the checkbox to check/uncheck. I would also like to remove the "selected" animation, where the listviewitem…
Masterchief
  • 107
  • 3
  • 8
2
votes
2 answers

Isolated Storage for UWP

May I ask about how to store the temporary data and read temporary data from Isolated storage and Isolated storage support for Universal Windows Platform (UWP) App Development? Thank You.
Eng Soon Cheah
  • 257
  • 1
  • 10
  • 42
2
votes
1 answer

Is it possible to show a satellite map on Windows 10 UA app

I'm trying to make my first Windows 10 UA desktop app. I have a working map, but it shows the road type of map. The problem with this is, the detail isn't there, and may people won't be able to get enough info out of this. Is there a way I can…
crua9
  • 228
  • 3
  • 11
2
votes
3 answers

Binding all System Colors to a ListBox

I'd like to bind all Windows.UI.Colors to a ListBox (ListView?) in a XAML Page, in a Universal Windows App (for Windows 10, in Visual Studio 2015). I found this way to get all system colors: Dictionary Colors() { var…
TechAurelian
  • 5,561
  • 5
  • 50
  • 65
2
votes
1 answer

Can't find class/add reference universal windows

I'm working on a personal project with VS 2015/Universal app solution and i try to follow this code sample : Asynchronous Server Socket Example But when i want to create a new IPHostEntry or make a Dns.GetHostName() VS don't find the assembly. I…
Nimp
  • 441
  • 1
  • 5
  • 15
2
votes
1 answer

Adaptive Trigger doesn't back to initial state after a breakpoint

I have created an adaptive triggers with two different views. All Setters works fine when program is started independently from the resolution, but after resizing when we reach a breakpiont there is a problem with a proper arrangement. This confuse…
SwitchOn
  • 31
  • 6
2
votes
1 answer

FileNotFoundException in Windows 10 Universal App (UAP)

I developed and published a Windows Universal App. To track exceptions and the app usage I enabled Application Insights and I can find FileNotFoundException's there with the following Call Stack: at Mindapp!+0x6e58d1 at…
SebastianStehle
  • 2,409
  • 1
  • 22
  • 32
2
votes
4 answers

Toggle Button Two Way Binding Not Working (Universal Windows Platform)

I am trying to bind the "IsChecked" property on the ToggleButton to "ModelView.IsEnabled". "ModelView.IsEnabled" is always "false" but somehow the ToggleButton can still show as "Checked". Is there anything wrong with the…
user3863376
  • 63
  • 1
  • 2
  • 4
2
votes
1 answer

XAML ListView ItemContainer Height

I want to Change the Height of the ItemContainer and not the Heightof the Item itself the Container is in a ListView What I want to Change: To Something like this: The structur of the Code Looks like this:
blueeyes
  • 59
  • 2
  • 10
2
votes
1 answer

Testing for an SDK in Universal Windows App

I am creating a universal windows application which will be used on both desktop, and mobile devices. The mobile devices will use vibration API. //Vibrate the device VibrationDevice.GetDefault().Vibrate(TimeSpan.FromMilliseconds(100)); I have added…
Mike Eason
  • 9,525
  • 2
  • 38
  • 63
2
votes
1 answer

Is .winmd file platform independent?

I have developed a C/C++ based Windows Runtime Component for Universal Windows, and I am now trying to include it in a NuGet plackage. With NuGet version 3, the runtimes folder has been introduced, see here for details. Unfortunately, this…
Anders Gustafsson
  • 15,837
  • 8
  • 56
  • 114
2
votes
2 answers

C++CX vs C++CLI - possible to access dynamic WUP C# dll from C++CX dynamic assembly?

This may sound like a stupid question as I know the implementation of these two languages are completely different. However, I'm somewhat unclear on the details. One of the really nice features in C++CLI that I like is that I can have a standard C#…
ThisHandleNotInUse
  • 1,135
  • 1
  • 10
  • 23
2
votes
1 answer

Directly calling background task in UWP app

I'm preparing for the new microsoft certification exam Universal Windows Platform – App Data, Services, and Coding Patterns Is it possible to directly call background task from Windows 10 (Universal WIndows) app? As far as I know, only triggers…
Liero
  • 25,216
  • 29
  • 151
  • 297
2
votes
3 answers

Application.Current.Exit() and OnSuspendingEvent

In Universal Windows 10 C#/Xaml Application when I close my app via Alt+F4 OnSuspending event is fired. Although, when I call Application.Current.Exit() this is not the case, despite the documentation states that this event is fired whenever app is…
xcoder37
  • 499
  • 6
  • 21
2
votes
1 answer

How to return value from nested task in c++/cx?

I have a bunch of threaded tasks like this after each other: create_task(somewinrtasyncfunction()).then([this(variable_that_the_last_task_returned) { //task here return info; }).then([this](info) { //another task here return…
1 2 3
99
100