Questions tagged [uwp-xaml]

This tag is for the XAML UI framework specific to Windows-Store-Apps on Windows 10, part of the Universal Windows Platform (UWP).

This tag is for the XAML UI framework (codename “Jupiter”) specific to Universal Windows Platform (UWP - see ). UWP XAML can also be used to build Windows Store Apps. UWP XAML supports .NET languages, C++/CX and C++/WinRT. The UWP XAML API is an evolution of Silverlight XAML API which targets cross-browser applications, which in turn is an evolution of WPF XAML which targets desktop applications. It has formerly been sometimes called WinRT XAML until the term was succeeded by "UWP" in Windows 10.

3049 questions
12
votes
1 answer

Running an EXE from C# using UWP

I have searched and searched and seem to have hit a brick wall here. I am developing an application that generates an audio fingerprint to automatically search an audio database to grab the correct artist and title and rename the files…
user3733885
  • 381
  • 2
  • 16
12
votes
3 answers

UWP equivalent function to FindAncestor in uwp

I have a list of orders and when the order status is Cancelled, I want to blink the text. So far, my code works. However, sometimes it will throws exception: WinRT information: Cannot resolve TargetName lblOrderStatus For some reason…
Sam
  • 1,826
  • 26
  • 58
11
votes
3 answers

I am getting 'A project cannot have more than one ApplicationXaml item'

I have a UWP project and when i try to build it for ARM it builds fine, however, when I build it for x86 or x64 I am getting 'A project cannot have more than one ApplicationXaml item'. I have tried to clean the solution and rebuild again but the…
Mike
  • 371
  • 4
  • 15
11
votes
2 answers

[UWP][XAML] ListView child item not using full width

I'm trying to display a list of bound items. I've customized the datatemplate to be a grid and I want the right column (that has a fixed width) to stick to the right side of the screen, and the 1st column I want to fill the remaining space. …
TekGiant
  • 1,132
  • 3
  • 14
  • 29
11
votes
2 answers

DockPanel in UWP app?

I would like to know if there is anyway to reproduce the same behavior than with the DockPanel in WPF but in UWP app? I would like to have some container docked, and the last one filling the userinterface? Thank you
J4N
  • 19,480
  • 39
  • 187
  • 340
10
votes
3 answers

How to wait for WebViewBrush.Redraw() to finish (UWP printing)?

I have a basic UWP app with an embedded WebView presenting a rather large HTML document (up to 500 letter-sized printed pages). I'd like to add support for printing that HTML document. Here is my approach: To support pagination, I generate a second…
Mark
  • 6,647
  • 1
  • 45
  • 88
10
votes
0 answers

DependencyProperty Value Inheritance equivalent in UWP

Given a Visual Tree in WPF, it is possible to specify that AttachedProperties are inherited as follows: public static class MyClass { public static readonly DependencyProperty FooProperty = DependencyProperty.RegisterAttached( …
Dr. Andrew Burnett-Thompson
  • 20,980
  • 8
  • 88
  • 178
10
votes
1 answer

How to set TitleBar Icon in UWP?

How to set up icon to TitleBar(Window) in UWP? Example of TitleBar Icon:
inatoff
  • 151
  • 2
  • 12
9
votes
1 answer

How can i change the Package family name in uwp windows 10

I want to change the key mentioned in fig., when i change the certificate file it changes to the another temporary key, and the publisher folder is creating with this key as name. but i want it as a meaningful name. is it possible.? if anybody…
9
votes
2 answers

UWP equivalent of Timer.Elapsed event

I need to fire an event automatically every few minutes. I know I can do this using Timers.Elapsed event in Windows Forms applications as below. using System.Timers; namespace TimersDemo { public class Foo { System.Timers.Timer…
Devraj Gadhavi
  • 3,541
  • 3
  • 38
  • 67
9
votes
4 answers

How to find a control with a specific name in an XAML UI with C# code?

I have dynamic added controls in my XAML UI. How I can find a specific control with a name.
CorneDompelaar
  • 121
  • 1
  • 1
  • 3
8
votes
3 answers

How to mix dynamic and static items in UWP XAML NavigationView MenuItems?

I'm trying to make a NavigationViewMenu and I need a menu layed out as follows static Home item static Header dynamic elements from DB as items static Header static set of items This is what I tried:
Felype
  • 3,087
  • 2
  • 25
  • 36
8
votes
1 answer

How to display pdf file in UWP app?

How do I save pdf file from internet(I have this url: "https://s3.amazonaws.com/example.pdf") to local storage and then convert in image and display in UWP app?
Doodle
  • 107
  • 1
  • 6
8
votes
2 answers

ManipulationMode explained

Can someone explain the meaning of manipulation modes such as TranslateX, TranslateRailsX, TranslateInertia ? What is a rail mode? And what inertia they are talking about?
TOP KEK
  • 2,593
  • 5
  • 36
  • 62
7
votes
2 answers

UWP - setting IsEnabled on NavigationViewItems

I have a UWP app with a NavigationView control. The navigation items are created by setting MenuItemsSource in the XAML to a collection of objects of type NavigationViewElement.
Rich S
  • 111
  • 8