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

How do I style the column header on a UWP CommunityToolkit DataGrid

I'm currently looking at the UWP CommunityToolkit DataGrid. I've been through the docs, but I'm not finding them clear on how to apply a ColumnHeaderStyle. I'm not sure what I should be targeting in the column header to set my style. I'm wishing…
Mark
  • 173
  • 2
  • 6
7
votes
1 answer

Reset resizing done by GridSplitter

I'm using GridSplitter from Microsoft.Toolkit.Uwp.UI.Controls. After two columns have been resized by the user using the grid splitter is there a way to reset that resizing and have the column widths of the grid go back to their normal widths before…
JT Smith
  • 361
  • 1
  • 2
  • 15
7
votes
2 answers

Display local html file content in UWP WebView

I believe this is pretty straightforward task and I've seen a lot of examples in the web but still none of them is working for me since I experience different exceptions. html:
Dmytro
  • 16,668
  • 27
  • 80
  • 130
7
votes
1 answer

set focus to a textBox in uwp

I have a Universal Windows Platform project that has a textBox element. I'd like to set the focus to it when a Radio Button is clicked. In the Radio Button click event, I can say: txtBoxID.IsEnabled = true; txtBoxID.Text = ""; But how do I set the…
Joth
  • 155
  • 1
  • 2
  • 10
7
votes
1 answer

Why does my AppBar appear as ClosedDisplayMode.Compact on Page load regardless of actual setting?

I'm porting a Win8.1 app to UWP for Win10 and experiencing a strange issue with the AppBar. We've tried using CommandBar instead of AppBar, but the issue still occurs for us. We're on the latest version of MyToolkit (2.5.16 as of this writing). Our…
Daniel A. Thompson
  • 1,904
  • 1
  • 17
  • 26
7
votes
1 answer

Icons and text in AppBar disappear at random

I have problem with icons and text disappearing at random in my Windows 10 UWP app. picture is on start up. picture is after clicking the appbar button and thereby navigating to another page and then opening the app bar again. This is the XAML…
Mikkel Gunvald
  • 339
  • 1
  • 13
7
votes
1 answer

Aligning Content of CommandBar in UWP

How can I align content in the content section of the CommandBar horizontally right? Before Anniversary Update, this was still possible.
kendoo
  • 229
  • 1
  • 10
7
votes
3 answers

Keep ListView.HeaderTemplate visible/static/sticky in UWP

I need to keep the HeaderTemplate of a ListView visible at all times, but I don't know what to set, or what part of the ListView's template to change to do that. What I currently have causes the header of the ListView to scroll off the top when…
BlackICE
  • 8,816
  • 3
  • 53
  • 91
7
votes
2 answers

How to hide my app's calendar from built-in calendar app?

My app needs an internal calendar. I can create a new calendar like this: var store = await AppointmentManager.RequestStoreAsync(AppointmentStoreAccessType.AppCalendarsReadWrite); var cacheCalendar = await…
7
votes
2 answers

What is the 'right' way to resize a SymbolIcon?

I want to be able to define a style and set the style on the icon (or on the button that holds the icon). Setting the button h/w doesn't enlarge the symbol and adding a Viewbox works, but I can't figure out how to set that from a style.
DeannaD
  • 1,469
  • 2
  • 16
  • 27
7
votes
4 answers

Name does not exist in the namespace

I am working on a simple UWP project using data template binding in VS 2015. When ever I try to specify the type for the Datatemplate I get an error. XAML:
Uncle Ben
  • 333
  • 3
  • 12
7
votes
1 answer

How can I put a BackgroundImage in Xamarin.Forms UWP?

Good Day everyone. I'm currently creating the UWP part of my Xamarin.Forms Project and I want to put a BackgroundImage in it. I've noticed that the images I used in Xamarin.Forms.Droid are not being displayed on my UWP. Why is that so? I used this…
Jaycee Evangelista
  • 1,107
  • 6
  • 22
  • 52
7
votes
1 answer

UWP Catch List View Scroll Event

I am developing a Windows Universal App for Phone. I have a List View and a button over it. I want to hide the button when I scroll down in the List View. How can i catch the scrolling event? How can i access the ScrollViewer inside the ListView? I…
Nitan Alin
  • 83
  • 1
  • 4
7
votes
1 answer

Read a QR barcode with UWP - Windows 10

I need build a UWP app that can (phone/tablet) use the camera to read a QR barcode from a computer screen. I need to detect the QR barcode as camera is on as I don't want to take a screenshot (or similar) and save this to file and then read it. It…
Thierry
  • 6,142
  • 13
  • 66
  • 117