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

Windows 8 theme color - accessing it programmatically

In windows 8 consumer preview you can personalize your experience, including setting a 'background color' which is then also used as the background for selected tiles, app bar etc. So selecting orange will mean that orange accents are visible in the…
Dean Chalk
  • 20,076
  • 6
  • 59
  • 90
12
votes
3 answers

Binding to the IsSelected property of the parent ListViewItem

I'm attempting to bind the Visibility property of a TextBlock that's held within the ItemTemplate for a ListView to the IsSelected property of the TextBlock's parent ListViewItem. With this markup, the TextBlock is always visible.
Rob
  • 45,296
  • 24
  • 122
  • 150
12
votes
5 answers

Path Geometry Clipping Equvalent in WinRT

Today I started porting the page turn sample created here for Windows Phone 7 to WinRT (XAML, C#) for helping this question posted in Stack Overflow. But during porting I got stuck with the clipping portion of page. In the windows phone sample they…
Stephan Ronald
  • 1,395
  • 2
  • 14
  • 39
12
votes
2 answers

Dependency Property assigned with value binding does not work

I have a usercontrol with a dependency property. public sealed partial class PenMenu : UserControl, INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged(string propertyName) …
12
votes
1 answer

XAML/C#: What event fires after reordering a gridview?

I am making my first Windows Store app in Visual Studios 2012. I have a gridview control that I have enabled to be reordered. I have code that I need to run when the list is reordered. I have tried the Drop event. It does not fire. I tried several…
Pratt Hinds
  • 225
  • 1
  • 3
  • 13
12
votes
4 answers

Best way to achieve underlined hyperlink on Windows Store apps?

From what I have read, there appears to be no functionality to achieve an underline for TextBlocks or HyperlinkButtons or the like in Windows RT, which appears ludicrous, but anyway, does anybody have an elegant approach to tackling this,…
GONeale
  • 26,302
  • 21
  • 106
  • 149
12
votes
5 answers

How do I send an email from a WinRT/Windows Store application?

I am developing a Windows Store Application (Windows 8). I have a need to send emails based on data and address stored in the application data and without the need of the user to type it the data or the address. What would be the right/easy way to…
user1211925
12
votes
3 answers

Are Windows 8 XAML-based apps noticeably faster than HTML/CSS ones?

We're looking at developing a Windows 8 Metro-style app which will be very photo-heavy, so we're concerned about UI performance. On iOS it was an easy decision (Objective-C over HTML to get the UI performance we needed), but researching Windows 8…
Ben Hoyt
  • 10,694
  • 5
  • 60
  • 84
11
votes
3 answers

How to horizontally align AppBarButton in command bar

I want to align my single AppBarButton to the right on a CommandBar in a Page.BottomBar? In design it shows the app bar button at the right side but in the emulator, the button is always at the center? Is there a way to align AppBarButton in a…
Muhammad Saifullah
  • 4,292
  • 1
  • 29
  • 59
11
votes
2 answers

Adding MapControl in xaml results in a "Catastropic failure"

I am creating an universal application using Visual Studio Ultimate 2013 Version 12.0.30501.00 Update 2. I am getting Catastrophic failure on adding Map Control in my xaml like this . I have added…
Vinoth Selvaraj
  • 301
  • 3
  • 13
11
votes
2 answers

How to set custom app bar button icons in windows 8

I want to set my own customs app bar icons which I downloaded . How can I set that this doesnot work
user3090763
  • 1,089
  • 1
  • 10
  • 24
11
votes
3 answers

Why doesn't the Windows 8.1 MenuFlyout have ItemsSource property?

I was reading this article and could not help but wonder the same thing. Is there a way to databind a menu Flyout control?
Jerry Nixon
  • 31,313
  • 14
  • 117
  • 233
11
votes
3 answers

WebView capture navigation to a custom protocol

I am working with a WebView in a Windows 8.1 xaml app and need to handle navigation to a custom protocol ie. "app://12345". I have the WebView navigating off to a website for authentication which is then redirecting to this custom protocol as the…
dkarzon
  • 7,868
  • 9
  • 48
  • 61
11
votes
3 answers

How to Clip content with rounded corners in Windows Store App

I've attempted to have a (with interactive stuff inside, not just an image) clipped with rounded corners (a or a , whatever works). I've attempted multiple solutions, but none of them was compatible with a Windows Store…
Cœur
  • 37,241
  • 25
  • 195
  • 267
11
votes
3 answers

How to access Parent's DataContext in Windows 8 store apps

This is a common situation in XAML based apps (WPF/Silverlight/WinRT). WPF related link -> WPF Databinding: How do I access the "parent" data context? RelativeSource with AncestorType, and Mode=FindAncestor usually comes to rescue in WPF. Both of…
Tilak
  • 30,108
  • 19
  • 83
  • 131