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.

3984 questions
11
votes
2 answers

Resource localization: use of x:Uid referring to another assembly's resource

I am writing a win8 application and will be using the built-in resource management system: resw file and x:Uid tags in my XAML code. So I create let's say a TextBox like that:
Qortex
  • 7,087
  • 3
  • 42
  • 59
11
votes
2 answers

Open links in external browser in WebView (WinRT)

I have a WebView component that I use to display HTML Ads in my app. When user clicks an Ad in the WebView I want to open the Ad link in an external browser. How do I do that? I need something like OnNavigating from the WP7 browser. I tried the…
Igor Kulman
  • 16,211
  • 10
  • 57
  • 118
11
votes
3 answers

“UpdateSourceTrigger=PropertyChanged” equivalent for a TextBox in WinRT-XAML

In WPF, we can update the underlying data model whenever the user makes any change to the data by leveraging UpdateSourceTrigger like this: In Window Phone…
Jerry Nixon
  • 31,313
  • 14
  • 117
  • 233
11
votes
5 answers

How to disable Windows 8/WinRT AppBar?

My goal is to only have an AppBar available under a certain circumstance. I am attempting to accomplish this by creating an AppBar, but leaving it disabled until that circumstance arises. However, if you set the IsEnabled attribute on an AppBar to…
jokeefe
  • 1,836
  • 4
  • 22
  • 27
11
votes
3 answers

Windows 8 ListView with horizontal item flow

How can i make the ListItems inside windows 8 ListView to flow horizontally. Default behavior is vertical, but i want to show the list in horizontal flow so it can render as panorama. I tried GridView which does support horizontal layout but there…
bdaniel
  • 121
  • 1
  • 1
  • 5
11
votes
2 answers

How to have DesignTime data in WinRT XAML?

How can I get DesignTime data in WinRT XAML so the designer shows sample data?
Jerry Nixon
  • 31,313
  • 14
  • 117
  • 233
11
votes
3 answers

Handling Swipe Guesture in Windows 8 Grid

I am trying to implement a custom control which consists of a grid with some canvas elements as children , When a swipe action is made on the grid , I am intended to preform some operation with the canvas elements . I am unable to handle the swipe…
Rajmohan Kathiresan
  • 338
  • 1
  • 3
  • 12
11
votes
3 answers

How to programmatically respond to Snap in Windows 8 Metro

Is there a way to respond to Snap in C# in a Metro app? When one of the pages is snapped I need to show another one. My idea is to respond to snap by naviating to another page. I found var currentView =…
Igor Kulman
  • 16,211
  • 10
  • 57
  • 118
11
votes
2 answers

Windows 8 bottom app bar

I've been trying to get an App bar implemented in a WinRT metro app (C# / XAML), but don't know where to begin. I've tried using the tag and I get a Type not found error. There's no help online, could someone update this post with…
Jay Kannan
  • 1,372
  • 3
  • 14
  • 30
10
votes
2 answers

Alternative to ElementName in x:Bind with DataTemplates

When using traditional {Binding} syntax you could specify element name to point to a specific control on the page, and be able to access its properties. For example if the page is named page you could do: {Binding ElementName=Page, Path=Name} With…
Robert MacLean
  • 38,975
  • 25
  • 98
  • 152
10
votes
1 answer

Event logger in Windows 10 Universal Apps

I am trying to create an event log for a Windows Universal Application. Earlier we had System.Diagnostics EventLog to log events, but I could not find anything similar on the Windows 10 Universal Apps platform. Is it possible to create logs for…
murmansk
  • 845
  • 2
  • 11
  • 28
10
votes
2 answers

How can I virtualize a "datagrid like" Control Horizontally and Vertically on XAML/C# (Windows 8.1 - WinRT)

Problem I'm trying to create a "datagrid like" control on a Universal App (WinRT). This control has to show lots of elements (Cells) but only has a small View-area, so it's a perfect candidate for Virtualization, which it definitely needs. How can I…
Dinis Vieira
  • 295
  • 1
  • 15
10
votes
3 answers

Not showing items with Visibility=Collapsed in Windows 8.1 GridView

I have a Windows 8.1 application with a GridView bound to a custom (sortable, deduplicated) observable collection. In this collection, I do some heavy filtering and setting an IsHidden flag for every item. In the data template for the item, there…
Igor Kulman
  • 16,211
  • 10
  • 57
  • 118
10
votes
2 answers

What event fires when user lifts finger from ScrollViewer on touch capable screens

I'm finding that when I tap the ScrollViewer, the PointerPressed and PointerExited events fires as expected. But, if I scroll in any direction after touching the screen and lift my finger, no event fires except for PointerCaptureLost which…
Jarem
  • 463
  • 1
  • 3
  • 15
10
votes
2 answers

WinRT - Windows Store - WinRT Originate Error - How do decipher such an error?

I'm working on a Windows Store app and I'm getting a WinRT error that doesn't really give me any information so I would like to know how to understand these sorts of errors. Basically I get the error on the following line which is called inside…