Questions tagged [winrt-xaml]

This tag is for the XAML UI framework specific to Windows-Store-Apps on Windows-8. WinRT-XAML is a subset of the general XAML specification and a superset of Windows-Phone-8 XAML.

This tag is for the XAML UI framework (codename “Jupiter”) specific to Windows 8’s Windows Runtime (“WinRT”). WinRT XAML is used to build Windows Store Apps (codename “Metro Apps”). WinRT-XAML supports .Net languages and C++/CX. The WinRT 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. WinRT XAML is the superset of the XAML used for Windows Phone 8 applications.

3933 questions
82
votes
2 answers

ListViewItem won't stretch to the width of a ListView

I'm currently designing a windows 8 store app using XAML but I have a minor sizing issue. I have a ListView with a DataTemple. The code for my ListView & DataTemplate are below:
Sun
  • 3,743
  • 12
  • 50
  • 91
48
votes
3 answers

Hide Status bar in Windows Phone 8.1 Universal Apps

How to hide the Status bar in Windows Phone 8.1 (C#, XAML)? In Windows Phone 8 it was done by setting shell:SystemTray.IsVisible="False" at any page. But its not available in Windows Phone 8.1
Kalyan
  • 1,367
  • 2
  • 12
  • 25
47
votes
2 answers

Should I add my Metro app's TemporaryKey.pfx file to version control?

I've created a Metro-style C#/XAML application, and now I'm trying to add it to version control (Git and, later, GitHub). That means figuring out which files belong in version control and which don't. When I created my Metro project, Visual Studio…
Joe White
  • 87,312
  • 52
  • 206
  • 320
46
votes
1 answer

How to install a Windows 8 App Without Submitting to Store

For a customer I need a to present our Windows 8 Metro App. When I deploy my solution or project, I get a exe but I can't install it. I get a MessageError, that I can only start the exe in a app container. How can I create a version of my…
Matapolo
  • 667
  • 1
  • 6
  • 12
45
votes
2 answers

Mysterious "Not enough quota is available to process this command" in WinRT port of DataGrid

Edit Sept 26 See below for the full background. tl;dr: A data grid control is causing odd exceptions, and I am looking for help isolating the cause and finding a solution. I've narrowed this down a bit further. I have been able to reproduce the…
Dominic P
  • 2,791
  • 1
  • 11
  • 15
36
votes
4 answers

Animate (smoothly) ScrollViewer programmatically

Is there a way to smoothly animate a ScrollViewers vertical offset in Windows Phone 8.1 Runtime? I have tried using the ScrollViewer.ChangeView() method and the change of vertical offset is not animated no matter if I set the disableAnimation…
Kristian Vukusic
  • 3,111
  • 6
  • 27
  • 43
35
votes
4 answers

Are Click, Tapped, and PointerPressed synonymous in WinRT-XAML?

Does it matter whether I create event handlers for PointerPressed, Click, or Tapped?IOW, is there any functional difference between the following:
28
votes
6 answers
25
votes
5 answers

How do I reference a StaticResource in code-behind?

In XAML I do it like this:
Jerry Nixon
  • 29,446
  • 13
  • 110
  • 219
24
votes
5 answers

MessageDialog ShowAsync throws accessdenied exception on second dialog

I am trying to implement try again/cancel dialog box in windows 8. The dialog box shows fine the first time, but on clicking try again and failing again, I get a access denied exception on calling ShowAsync. I don't know why, but its strange…
Syler
  • 1,111
  • 1
  • 12
  • 28
24
votes
3 answers

How do I do bindings in ItemContainerStyle in WinRT?

I'm trying to bind a collection to an ItemsControl, with a Canvas as the items panel, and with each item's Canvas.Left and Top bound to properties on the item objects. Basically I'm trying to re-create the 2-D databinding I described in this post on…
Joe White
  • 87,312
  • 52
  • 206
  • 320
23
votes
2 answers

UWP compiled binding x:Bind produces memory leaks

While developing UWP application I recently found quite a few memory leaks preventing my pages from being collected by GC. I have a ContentPresenter on my page like:
Viachslau
  • 351
  • 2
  • 11
23
votes
2 answers

Choosing between XAML's ListView and GridView in WinRT

The GridView and the ListView in XAML seem to be the same control. How does a developer choose between the two?
Jerry Nixon
  • 29,446
  • 13
  • 110
  • 219
22
votes
2 answers

Adding a swipe gesture to open SplitView Pane

I am trying to add a swipe gesture to the SplitView control (aka "hamburger menu") of UWP, similar to the swipe left/right of a Pivot control. How can I set a gesture to change the Display mode of it? In iOS 8 and later, I can use…
iou90
  • 247
  • 3
  • 8
21
votes
2 answers

Is there a WrapPanel (not WrapGrid) control in WinRT-XAML?

A XAML StackPanel aligns controls side-by-side in a single direction. A WrapPanel is similar but like TextWrapping="Wrap" in a XAML TextBox the controls "wrap" to the next column or row when the respective height or width is reached. Similar, but…
Jerry Nixon
  • 29,446
  • 13
  • 110
  • 219
1
2 3
99 100