Top "Windows-runtime" questions

Windows Runtime (WinRT) is a Microsoft platform architecture that allows applications to run in a sandboxed environment exposing a 'Windows Modern Style' UI/UX.

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 …

wpf xaml windows-8 windows-runtime winrt-xaml
ScrollViewer GridView XAML

I am currently building a Windows 8 XAML C# application. In a page I have a scrollviewer for horizontal swiping and …

gridview windows-8 windows-runtime winrt-xaml scrollviewer
XAML Horizontal Stackpanel Scrolling

I am having problems getting horizontal stackpanels to scroll from within a scrollviewer. What I'm trying to do is more …

xaml windows-8 windows-runtime horizontal-scrolling stackpanel
How do I print WebView content in a Windows Store App?

I have a Metro App and I am attempting to Print the Content of a WebView control. Using the MSDN …

c# windows-runtime microsoft-metro winrt-xaml .net-4.5
StorageFile Async usage in a NON Metro application

I am trying to create an instance of StorageFile in my class library... var localFolder = ApplicationData.Current.LocalFolder; StorageFile destinationFile = …

c# windows-8 windows-runtime isolatedstorage async-await
How to change a WinRT ToggleSwitch color?

I'm writing a Windows 8 WinRT app in C#, and would like to dynamically change the color of my ToggleSwitch. I'll …

c# xaml windows-runtime toggleswitch
What is the Windows RT / Windows Store App answer to App.config?

What is the best way to go about reading and writing simple configuration data like we used to use App.…

windows-8 windows-runtime windows-store-apps
VariableSizedWrapGrid and WrapGrid children size measuring

Both VariableSizedWrapGrid and WrapGrid have strange measuring - they measure all children based on the first item. Because of that, …

windows-8 microsoft-metro windows-runtime
UnauthorizedAccessException in StorageFile.OpenAsync

I used the following code to download/save an image and open it later, but in later OpenAsync, it throws …

c# io windows-runtime file-access
How can I get a new default WebProxy object in a C# Windows Store app?

My question comes from an issue I discovered on a corporate network. I'm developing with Windows 8 so in my case …

c# windows-8 windows-runtime webproxy