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
4
votes
3 answers

"The name does not exist in the namespace error" in XAML

I know this is a recurring error but I can't seem to get around it. Intellisense does recognize the name of my custom control and suggests to add the proper using: directives, but not only XAML designer doesn't find the name of the control but I…
rzippo
  • 979
  • 12
  • 22
4
votes
5 answers

UWP NavigationView set IsPaneOpen false

I Have a navigation view like this:
Juan Pablo Gomez
  • 5,203
  • 11
  • 55
  • 101
4
votes
1 answer

CreateQueryWithOptions causes system interop Com exception

Ok so I have a simple uwp app where I am trying to get data from KnownFolders.VideoLibrary and to make it faster I am using indexing with QueryOptions. Strangely on the first load of the page I dont get any error, but when I try to drill into…
Muhammad Touseef
  • 4,357
  • 4
  • 31
  • 75
4
votes
1 answer

How do I listen to UWP Xaml Slider manipulation start/end events?

What events should I listen to on a UWP Xaml Slider to determine when the user begins and ends manipulation. This functionality is important when you have a slider that represents some continuously changing app state (say, an animation time) and you…
Chris Caulfield
  • 435
  • 1
  • 4
  • 8
4
votes
2 answers

Using TooltipService.Tooltip Keyword in a Resource Dictionary for UWP

I'm translating my UWP app via x: UID property like this. Code (XAML):
berkb
  • 542
  • 6
  • 21
4
votes
1 answer

Adaptive TextBlock: change Text based on Width. Preferably XAML-only solution

I have a TextBlock with its HorizontalAlignment property set to Stretch, and would like it to display different text based on different values of its width, e.g.: VSTS if width < 70 VS Team Services if 70 <= width < 150 Visual Studio Team Services…
A. Milto
  • 2,253
  • 1
  • 13
  • 19
4
votes
1 answer

UWP App does not show Image

I'm having a little issue here in showing image. Image is in Assets folder. Here is my XAML code:
KOmrAD
  • 93
  • 5
  • 14
4
votes
1 answer

What's the correct way to bind to size (width/height) of another element in UWP?

UWP has a design problem: ActualHeight/ActualWidth, which store the result of the layout operations, are always a real number. However, because they are updated so frequently, UWP does not notify when they change. Height/Width do provide change…
Nick Bauer
  • 1,027
  • 8
  • 13
4
votes
0 answers

Child collection must not be modified during measure

I am adding a ItemControl into panel dynamically as you see in the below code. try { if (!this.DockPanel.Children.Contains(itemControl)) { this.DockPanel.Children.Add(itemControl); } } catch(Exception e) { …
Bharathi
  • 1,288
  • 2
  • 14
  • 40
4
votes
1 answer

How can I make the first item in a xaml ListView different?

This is for a Universal Windows App. Please can you tell me how to modify only the first element of a ListView? I tried to use a header template, but I couldn't work out how to bind it to the first element in my Steps list. The only difference…
4
votes
1 answer

Can I change the Canvas.Zindex of an object using visual states?

How could I change the Canvas.Zindex of an object using visual states? I was expecting to be able to do something like this..
Gema Beltran
  • 171
  • 9
4
votes
2 answers

UWP: Create shadow in XAML

I am currently trying to create a circular button with two ellipse-elements in UWP and want one of them to throw a shadow at a certain angle. I found a way to do so in WPF which looks like this: WPF XAML:
Nigel-Lee
  • 145
  • 1
  • 13
4
votes
5 answers

ContentDialog max width

I'm trying to create a settings menu in my app like this I know how to do it but I have a problem with the width on content dialog, apparently there is a limit on width. Here's code for my content dialog: Title="" Margin="12,0,-12,0"…
Louay Sleman
  • 1,794
  • 2
  • 15
  • 39
4
votes
1 answer

UWP grid row/column mouse over effect

I have made a grid programmatically, and now I wan't to somehow hilite the row+column the mouse is over. I was looking for a mouseOver/Enter/Leave, or IsMouseOver... on the column, but it seems they are not there... here the Xaml…
buildcomplete
  • 552
  • 2
  • 15
4
votes
1 answer

UWP Listview became very slow while binding massive data

I'm trying to bind data to listview using ObservableCollection. My XAML is like this
Vincent
  • 3,124
  • 3
  • 21
  • 40