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
6
votes
1 answer

How to reference an asset in class library in UWP with XAML syntax

I have a class library with a custom control in UWP. There is an asset image.png that is in the class library under the folder Assets I want to display this image in the custom control using xaml syntax in generic.xaml inside the class library.
troty_master
  • 315
  • 1
  • 2
  • 11
6
votes
3 answers

Is it possible to change NavigationView's settings item's icon and text?

Basically when using NavigationView, the settings item always shows up as a gear icon and a text of "Settings". Is it possible to change these two things?
Xinpeng
  • 75
  • 2
  • 7
6
votes
1 answer

Handling Clicks From PaneFooter Items in NavigationView UWP

I'm currently working on a UWP app and I have this that handles clicks in the . It seems not to recognise clicks in the . This is the…
6
votes
4 answers

How to use SQLite in Visual Studio 2017?

I'm using Visual Studio 2017, in UWP project. I installed SQLite Compact Toolbox from NuGet package like this: Microsoft.Data.sqlite / sqlite-net / sqlite-net-pcl / System.Data.SQLite After that, I still can't add using Microsoft.Data.Sqlite in…
CorentinMerit
  • 99
  • 1
  • 1
  • 4
6
votes
5 answers

Add text to a button with an icon

I have a button with the Feedback Hub icon (Segoe MDL2 Assets), and I wanted to add the text: "Feedback", after the icon, but since I already have the icon it is possible to add the text? Here is an example of my button:
Fernando Sousa
  • 241
  • 1
  • 5
  • 12
6
votes
1 answer

How to set the window's size in a Universal app?

I use C# and XAML, and my main page begins like this…
Myosotis
  • 239
  • 3
  • 14
6
votes
2 answers

How to align TextBlock and TextBox text on one baseline

I am trying to figure out a nice layout for a group of controls with labels. If i have a label on the left of a textbox for example, the base line of the label and the textbox are not on the same vertical position. An often workaround ist to just…
Diego Frehner
  • 2,396
  • 1
  • 28
  • 35
6
votes
2 answers

Zoom content to fit in a UWP WebView

I am trying to implement a zoom to content fit function in a XAML-WebView control inside a UWP app. As the semi-official solution for zooming seems to be using JavaScript, my approach was to dynamically set the zoom CSS-property of the body element.…
Georg
  • 5,626
  • 1
  • 23
  • 44
6
votes
1 answer

x:Bind works but Binding doesn't (opposite to most Q&A found)

Most of the Q&A I found on StackOverflow is how Binding work but x:Bind doesn't which usually solved by Bindings.Update(). However, my issue is, inside a GridView, ItemSource="{x:Bind _myList}" works but ItemSource="{Binding _myList}" doesn't. Why?…
6
votes
2 answers

c# UWP autoscrolling text

I'm currently building an application for raspberry Pi (windows IoT) which accepts UDP messages and shows them on the screen. I need a way to make the text horizontally scroll over the screen automatically. I can't let the user click a button…
PippinSmith
  • 79
  • 1
  • 5
6
votes
1 answer

UWP get live webcam video stream

I was looking into the MediaCapture class, however it doesn't seem to expose what I'm looking for. I want the live Stream from the web cam - not to record it or preview it. I'm working on the Microsoft Cognitive Services Emotion API and I want to…
David Pine
  • 23,787
  • 10
  • 79
  • 107
6
votes
1 answer

UWP App realtime blur background using DX Compositor

So the UWP Composition support has been out for a while I am looking for a way to do real-time blurring of elements (live blur as they move or load, not static snapshot). So far I have been looking at some answers on stackoverflow, and google which…
MaX
  • 1,334
  • 13
  • 26
6
votes
1 answer

How to change RelativePanel attached properties in Windows Apps?

I have tried to change the RelativePanel attached properties of a control by XAML in the VisualState.Setters in a Visual State but the properties do not change, so I created a dependency property to test by code behind and neither. Is there any way…
5
votes
1 answer

Derive from IconElement or IconSourceElement in UWP

I'm trying to create the same custom symbol icon control as MS SymbolIcon, which will get the enum symbol values as input, and the equivalent path data value will be retrieved from the dictionary collection. But the symbol icon class…
Kanniyappan P
  • 281
  • 1
  • 6
5
votes
2 answers

VisualStudio UWP/XAML Designer not showing UserControl | The element "foo" could not be displayed due to missing assemblies

I have two Projects in my project folder: HtSuite.UWP | Library HtSuite.UWP.Leitstand | Applicaton In the Library is an UserControl NamePasswordControl, which I can edit without any problems in the XAML | Designer. When I place the…
Dominic Jonas
  • 4,717
  • 1
  • 34
  • 77