winrt-xaml Questions
3
Solved
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
Iphlgenia asked 11/4, 2014 at 10:4
1
I need to programatically close the dialog with either primary or secondary button action from another button in the content dialog.
Hokum asked 13/4, 2016 at 17:6
2
Solved
How can I convert a BitmapImage object to byte array in UWP ? in .Net it is easy to achieve, even in previous WinRT versions, looked all over the internet but without success, one of the solutions ...
Besant asked 19/3, 2016 at 22:36
1
Solved
My app had a series of buttons hardcoded to be a navigation menu, but I wanted to upgrade this to something more data-driven.
<Button Content="MyPage">
<i:Interaction.Behaviors>
<...
Carlicarlick asked 17/3, 2016 at 14:51
2
Solved
I am trying to build a package for Release on ARM CPU.
When I built it with "Compile with .NET Native tool chain" checked, the package failed to build and threw me an error which states error : IL...
Dexterdexterity asked 17/3, 2016 at 4:56
5
Solved
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 ...
Denominator asked 4/10, 2012 at 7:44
4
The only examples I've been able to find online for binding text to a WinRT RichTextBlock look like this:
<RichTextBlock>
<Paragraph>
<Run Text="{Binding Content}"/>
</Para...
Middleweight asked 20/11, 2012 at 23:13
3
Solved
This is my first MVVM project and the code I need to write to manipulate controls in the view somehow seems way too complicated than it has to be.
I'm finding it hard to fully understand MVVM and ...
Jase asked 12/2, 2016 at 16:56
3
Solved
I was reading this article and could not help but wonder the same thing.
Is there a way to databind a menu Flyout control?
Fifteenth asked 2/12, 2013 at 19:44
2
Solved
I have a problem that involves a bunch of code, but I've isolated it down. If you want a TL;DR; jump to it further down. If you want a bit of context, here's my situation:
I have created three dat...
Theophrastus asked 4/2, 2016 at 12:18
2
Solved
I am using UWP and Template 10 to build a GUI app by following MVVM pattern. As a part of application I need to invoke a content dialog by pressing button on Main Page. So separate ContentDialog wa...
Location asked 5/1, 2016 at 23:35
2
Solved
I'm trying to create a similar experience as in the ScrollViewerSample from the Windows 8 SDK samples to be able to snap to the items inside a ScrollViewer when scrolling left and right. The implem...
Comply asked 11/4, 2012 at 14:0
1
Solved
I need to bind a property of a control to an attached property in XAML (so that the attached property becomes a source of the binding), and I can't figure out how to do it -- VS2015 gives me "Value...
Resh asked 10/1, 2016 at 2:9
2
Solved
For WPF there is the ContentRendered event in the Window class which let us know when the visual elements have been rendered.
Is there anything that would help me achieve the same result for UWP a...
Disassembly asked 17/12, 2015 at 16:55
2
Solved
Can someone explain the meaning of manipulation modes such as TranslateX, TranslateRailsX, TranslateInertia ?
What is a rail mode? And what inertia they are talking about?
Administer asked 18/4, 2014 at 12:22
1
Solved
I'm trying to access the system namespace for StaticResource variables in XAML on UWP.
Here's (mostly) what I'm using:
<Page
x:Class="App.UWP.Views.Step6"
xmlns="http://schemas.microsoft.com/...
Marche asked 4/12, 2015 at 18:7
2
Solved
If I use {x:Bind {RelativeSource Self}} in a data template, I get the following error while compiling:
Object reference not set to an instance of an object.
The idea is to pass the templated o...
Tineid asked 1/12, 2015 at 22:51
2
Solved
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
<Maps:MapC...
Acro asked 13/6, 2014 at 22:37
3
Solved
I'm trying to add in app purchases to my universal app and am having trouble testing it in the Windows Phone version. The guide says that in order to use the CurrentAppSimulator I must "customize t...
Sining asked 7/9, 2014 at 0:6
1
Solved
I'd like to add a Pushpin to a MapControl in a Windows 10 app, but it seems the control is gone since Windows 8.1.
It was as simple as that:
Pushpin locationPushpin = new Pushpin();
locationPu...
Bumkin asked 7/11, 2015 at 9:1
0
First of all, my case is in UWP apps.
TextBlock has a property named SelectionHighlightColor that allows you specify the concrete color of the Selection Area when you select a text. Just like thi...
Echinoderm asked 23/10, 2015 at 5:53
2
Solved
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, ...
Maidenhood asked 8/12, 2012 at 22:59
4
Solved
I'm currently experimenting with the new compiled bindings and have reached (again) a point where I'm missing a pice in the puzzle: why do I have to call Bindings.Update? Until now, I thought imple...
Pueblo asked 11/10, 2015 at 22:16
5
Solved
Abstracting commands into the View Model is a valuable practice with XAML/MVVM projects. I get that. And, I see ICommand in in WinRT; but, how do we implement it? I haven't found a sample that actu...
Iceskate asked 14/8, 2012 at 20:48
3
I have a problem when I try to compile a Windows Store App in C#/XAML. Every time that I try to compile I receive this error:
Error 1 The system cannot find the file specified. (Exception from HRE...
Euphemie asked 30/4, 2013 at 15:42
© 2022 - 2024 — McMap. All rights reserved.