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
1
vote
3 answers

Close Flyout which contains a UserControl

I am building a user control for a TextBox because I want it to have some special behaviour. The control can be used in several contexts, including as a flyout for a button. When it is a flyout I want to close the flyout when the user presses the…
Stephen Hosking
  • 1,405
  • 16
  • 34
1
vote
2 answers

WinRT ListPickerFlyout crashes App if background color changed

If I put the following code in a skeleton WinRT app, it won't construct the Main…
Mike
  • 13
  • 3
1
vote
1 answer

Change GridViewItem background color when loading

I have a GridView with UserControl as item. When I'm scrolling, the UserControl are loading, the background in my UserControl is tranparent, but when its loading, the color of the background is a dark gray. Is it possible to change the "loading"…
Alxx
  • 65
  • 1
  • 8
1
vote
1 answer

WinRT C++ : show binding errors

Anyone got any ideas on how to get binding errors to show up in VC++ 2013 Windows Store App. From what I found it says that you need to set up the debugger so it uses Native and Managed debugging and I did so. I even bound the event handler for…
vman2010
  • 11
  • 1
1
vote
1 answer

How to implement the swipe gesture as in new Outlook app for Win10?

The new Outlook app for Windows 10 implements swipe gesture to delete or edit Items.I want to implement this functionality for Listview items in my universal app using C# and XAML. So far I am trying the following approach : XAML …
Nuron
  • 109
  • 8
1
vote
1 answer

SQLite.Net, C# equivalent for SQLite bit datatype

I declare following class in c# [Table("Employee")] public class Employee { [PrimaryKey,AutoIncrement] public int EmployeeId { get; set; } public DateTime DateOfJoining { get; set; } public string Address{ get; set; } } and i…
Gk_999
  • 508
  • 8
  • 29
1
vote
1 answer

WinRT XAML Toolkit TreeView expanded display

I am developing a Windows store app. At a high level, the page has a Grid with two rows. Along with other controls, the ComboBox is placed in the first row. The second row has a GridView and the red tile is one of the items in the GridView. The…
Live Free
  • 117
  • 1
  • 6
1
vote
0 answers

Is there a way to give parallax background effect to a pivot page in WP 8.1 RT?

As in the title, is there a way to give the parallax effect like in a Hub control to a pivot? Windows Phone 8.1 RT. WinRTXamlToolKit has a parallax control but it only works for a scroll viewer.
Heshan
  • 913
  • 8
  • 30
1
vote
3 answers

How to remove a specific page from Navigation cache in Windows Phone 8.1 RT?

I have set NavigationCacheMode to Required in some pages of my WP 8.1 XAML app. How can I remove a specific page from that? This is not Navigation stack.
Heshan
  • 913
  • 8
  • 30
1
vote
2 answers

MediaCapture and Window VisibilityChanged

[Question] On Windows Phone 8.1, what exactly happens in between the time when the user leaves the app and the OnSuspended event fires? I'm having trouble with the ability to manage objects in that span, in particular MediaCpture object. To better…
Lance McCarthy
  • 1,884
  • 1
  • 20
  • 40
1
vote
1 answer

WinRT FlipView.SelectedIndex binding not responding to changes in ViewModel

I would like to programmatically change the SelectedIndex of a FlipView. My ViewModel looks like this: public class MyViewModel : ViewModelBase { private int _flipViewIndex; public int FlipViewIndex { get { return _flipViewIndex; } …
Daniel A. Thompson
  • 1,904
  • 1
  • 17
  • 26
1
vote
0 answers

Create a resizeable (expand+collapse) TextBlock control

I was trying to create a control with two TextBlock>s, having a "Show more" & "Show less" functionality. Considering an initial threshold X, if the TextBlock's height is bigger than the Threshdold, the TextBlock will be resized to the Threshold's…
VasileF
  • 2,856
  • 2
  • 23
  • 36
1
vote
1 answer

How to keep AutoSuggestBox suggestion box open in Windows Phone 8.1

Using the new AutoSuggestBox control in Windows Phone 8.1 (WinRT XAML), I am trying to keep the suggestion box open all the time -- even after the user clicks a suggestion. I have no problem starting with the suggestion box open by programmatically…
Speednet
  • 1,226
  • 10
  • 12
1
vote
0 answers

Highlight multiple adjacant textblocks in a XAML Windows Phone 8.1 (WinRT) App

I am modifying an application that reads in a document, and then generates a TextBlock for each word in the document and then outputs it to the screen. Each TextBlock has the IsTextSelectionEnabled property set to true, and this works for…
1
vote
1 answer

Textbox doesn't lose focus when clicking outside of it when inside Popup?

I am working on a Windows 8.1 Store App using Windows Runtime. I have a UserControl which holds a StackPanel which holds a number of TextBoxes. When I place the UserControl on a Page and When I place the user control in a Popup I get different focus…
P.Smith
  • 11
  • 2