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
10
votes
2 answers

ListViewItem IsSelected Binding - Works for WPF, but not for WinRT

I'm trying to bind the IsSelected property of a ListViewItem to a property in a ViewModel. It works fine in WPF, but in Windows RT the IsSelected property is never getting set. public class Item : INotifyPropertyChanged { private readonly…
David Klimek
  • 205
  • 2
  • 8
10
votes
4 answers

TextBlock binding displays class name instead of empty string

I have the following Windows RT app. I bind a List of Strings to an ItemsControl of TextBlocks. This will display the empty strings as "System.Collections.Generic.List'1[System.String]" instead of just an empty string. I would like it to display an…
10
votes
4 answers

Which Graphics Framework for Windows 8? MonoGame? OpenGL and Xaml/DirectX Mixing?

I would like to develop a game for windows 8, but since Xna isn't supported, i don't really know, if it is good to use something like MonoGame - because i think, it doesn't make any sense to use MonoDevelop with OpenGL while the UI Frontend runs…
lunatix
  • 817
  • 10
  • 25
10
votes
3 answers

Selected Items using MVVM in WinRT

I'm struggling to find a way to bind the SelectedItems property in a ListView to the view model. Previously I used this: http://www.codeproject.com/Articles/412417/Managing-Multiple-selection-in-View-Model-NET-Metr which no longer works in the RTM…
Jamie
  • 4,670
  • 5
  • 35
  • 49
10
votes
3 answers

In WinRT api, how to accept user input in a dialog just like in Weather and Finance apps

I am trying to display a dialog that allows the user to type a location, just like in the "add places" function of the Weather App on Windows 8. Windows.UI.Popups namespace does not have an appropriate control. It has the MessageDialog, but I don't…
Mani
  • 307
  • 1
  • 4
  • 8
10
votes
7 answers

Where is the date picker in WinRT XAML?

I see the date picker control in WinRT JavaScript/HTML5. Where is that control for XAML?
Jerry Nixon
  • 31,313
  • 14
  • 117
  • 233
9
votes
4 answers

How to execute command from GridViewItem Tap event (XAML)

I am trying to follow the MVVM pattern in my Windows 8.1 store app (XAML). I want to navigate to a new view when a GridViewItem is clicked / tapped in the UI. I wanted to do this without code behind events to promote testability (using MVVM…
obaylis
  • 2,904
  • 4
  • 39
  • 66
9
votes
1 answer

Scrolling in a ItemsControl while using a horizontal StackPanel as the ItemsPanel

I have an ItemsControl, I've built the items that I'm displaying in it (views:DisplayGroupView) in such a way that they will expand horizontally to show all their contents and not vertically (only using the available height) I've changed my…
PhonicUK
  • 13,486
  • 4
  • 43
  • 62
9
votes
1 answer

Opening settings charm while Camera open closes the camera in windows 8 / WinRT

I am using CameraCaptureUI for opening camera in my application; Here is the code what iam using var camera = new CameraCaptureUI(); camera.PhotoSettings.AllowCropping = false; var file = await…
StezPet
  • 2,430
  • 2
  • 27
  • 49
9
votes
2 answers

Caliburn.Micro rebind ContentControl on navigation GoBack

I'm using Caliburn.Micro within WinRT application Here is my main VM: public class MainViewModel : Conductor { protected override void OnActivate() { if (ActiveItem == null) { ActivateItem( …
Alexander
  • 1,287
  • 1
  • 15
  • 34
9
votes
4 answers

ScrollViewer not working with StackPanel

Left side of my page I have a vertical StackPanel with the following elements: 1 TextBlock 1 vertical StackPanel with multiple elements that fills the available space I am trying to make the second StackPanel scrollable with a ScrollViewer element…
letiagoalves
  • 11,224
  • 4
  • 40
  • 66
9
votes
1 answer

ListView isSelected

I have an listview in my xaml that i populate with items like this: List dicts = DataLayer.Manager.getDictionaries(); if (dicts != null) { foreach (DataLayer.Models.Dictionary dict in dicts) { …
Rasmus Styrk
  • 1,296
  • 2
  • 20
  • 36
9
votes
1 answer

Repeat EntranceThemeTransition

I have a simple TabControl done using templated RadioButtons and Grids which change visibility when IsChecked on a RadioButton changes, something like this:
Igor Ralic
  • 14,975
  • 4
  • 43
  • 51
9
votes
2 answers

Using ScrollViewer for image pinch-zoom, keeps snapping left on pan

I am trying to use a XAML ScrollViewer to 'cheaply' add pinch-zooming to an image. The issue however is that when panning around the image, it keeps snapping to the very left. If I slide it right, it looks fine, but the second I release the image,…
Steve
  • 2,108
  • 4
  • 25
  • 36
9
votes
2 answers

WinRT XAML custom Transition

Is it possible to implement a custom Transition in WinRT? E.g. it would be nice to have transitions for the control visibility. So when you show/hide a part of a split view it animates the entire view by using a sliding effect.
maxim pg
  • 701
  • 4
  • 9