Questions tagged [microsoft-metro]

Unless you have design questions - you should more likely tag your question as windows-store-apps or windows-runtime or winrt-xaml or winjs. Metro (now "Microsoft Design Language") was an internal code name for a typography-based user interface design language created by Microsoft. It is featured prominently in Windows Phone 7 and Windows 8.

Metro was an internal code name for a typography-based user interface design language created by Microsoft. It is featured prominently in Windows Phone 7 and Windows 8.

On August 3rd, 2012, the "Metro" codename was dropped in favor of the term "Windows 8 Style UI" (see this article on Ars Technica). While "Metro" was said to be a code name, several reports suggest the name was dropped to avoid a potential trademark dispute. No new marketing terminology has been announced to represent the "Windows 8 Style UI" interface.

It was later reported that from about September/October 2012 Microsoft started to replace earlier references to "Metro Design Language" with "Microsoft Design Language" and "Metro Style Apps" with "Windows Store Apps".

Note that "Metro" was mostly the name of the design language originally used in products such as Windows Media Center, Zune, Windows Phone and later in Windows 8 and all other Microsoft properties. Many people familiar with the term even at Microsoft continue using it today when talking about the design style, while seems to be gaining acceptance as the term for what was previously called "Metro Style Apps".

Find our guideline:

Related tags: , , , ,

3874 questions
33
votes
5 answers

Let TextBox stretch to fill width in StackPanel

I have a StackPanel in my WinRT C# Metro app that I want to use as container for a label/value pair (TextBlock and TextBox) like this:
Matthias
  • 3,403
  • 8
  • 37
  • 50
31
votes
6 answers

Metro App can no longer be programmatically killed?

I'm new to Win 8 Metro application development, and discovered that lots of things seem to be changed from the classic WPF. What troubles me the most is that there's no way to close the app. This is extremely annoying when it comes to debugging the…
Daqi Pei
  • 369
  • 3
  • 6
30
votes
3 answers

Alternate background color in Listview XAML

I'm using a listView based on itemTemplate. So i need in my template to alternate the background color : - fist row: white - second row:gray - third row: white - forth: gray this is my template:
user1428798
  • 1,534
  • 3
  • 24
  • 50
28
votes
2 answers

Streaming with go-between in Windows 8

I want to stream data from a server into a MediaElement in my Windows 8 Store (formerly Metro) app. However, I need to "record" the stream while it is streaming, so it can be served from cache if re-requested, so I don't want to feed the URL…
Vegard Larsen
  • 12,827
  • 14
  • 59
  • 102
28
votes
2 answers

Portable Class Library HttpUtility.UrlEncode

I understand that making web requests is quite well supported in the Portable Class Library. Is there any equivelant of HttpUtility.UrlEncode in the PCL? I need it for Windows Phone and Metro applications.
27
votes
4 answers

Get OS-Version in WinRT Metro App C#

I'm programming a Metro Style App with C# and the Visual Studio 11 Beta. Now I want to get the OS-Version of the OS. How can I get this? I found out how to do it in "normal" Applications. There you take the Environment-Class with the attribute…
25
votes
1 answer

How can I use the Windows.UI namespace from a regular (Non-Store) Win32 .NET application?

The question is basically related to Possible to use Toast Notifications from a regular .Net application? How can I use the Windows.UI namespace from a regular (Non-Store) Win32 .NET application (Console, WinForms, WPF)?
wollnyst
  • 1,683
  • 1
  • 17
  • 20
24
votes
5 answers

Is there any way to write a WinRt (Metro) app that will also work on Windows 7 and Vista?

We can’t just leave our customers that are not able to upgrade to windows 8 for a long time in the larch. However there is demand for a “tablet”/”touch” version of our app. So how can we support both touch with Metro on Windows 8 and our current…
Ian Ringrose
  • 51,220
  • 55
  • 213
  • 317
24
votes
1 answer

What is the difference between Task<> and IAsyncOperation<>

I am writing a metro app. This works: HttpClient client = new HttpClient(); var bytes = await client.GetByteArrayAsync(new Uri("www.microsoft.com")); This doesn't: var folder = Windows.Storage.ApplicationData.Current.LocalFolder; …
user380719
  • 9,663
  • 15
  • 54
  • 89
23
votes
2 answers

Missing Type.GetProperty() method in Windows 8 Developer Preview

I'm trying to port a simple application to Windows 8 Metro (WinRT). It seems that some very basic methods are missing. One basic example: Type.GetProperty(). It is available for Windows Phone 7, Silverlight and .NET client profile. Do I have to…
Rico Suter
  • 11,548
  • 6
  • 67
  • 93
23
votes
7 answers

How do I work with images in a portable class library targeting Windows Store Apps and WP7,WP8,WPF?

I am working on a first PCL that targets : WSA (Windows Store Application), WPF,WP7,WP8. We can say that it is a rolerdex kind of application, you have contacts , they have contact details and images. (it's not, but I can't give details about the…
22
votes
9 answers

jQuery and Windows 8 JavaScript Metro Style Apps

Can jQuery be used in Windows 8 Metro-style apps developed using the JavaScript API? I'm looking at the samples, and there's a lot of standard DOM manipulation like document.getElementById, addEventListener, etc. I'd like to use jQuery for…
pfeilbr
  • 1,939
  • 4
  • 19
  • 18
22
votes
10 answers

LayoutAwarePage does not exist in namespace VS2012 bug?

I'm trying to get a search contract working on my Win 8 app but after adding a search contract to my project I get the following namespace error: LayoutAwarePage does not exist in namespace App1.Common. I do have the correct namespace declarations…
Calanus
  • 25,619
  • 25
  • 85
  • 120
22
votes
1 answer

How to a synchronize tasks?

Say I have an async method which saves to file: async Task SaveToFileAsync() { var file = await folder.GetFileAsync ( ...) var stream = file.OpenFileAsync(...) ///etc } Now imagine that SaveToFileAsync is called twice simultaneously. This…
user380719
  • 9,663
  • 15
  • 54
  • 89
21
votes
9 answers

Creating metro style winform in windows 7 using C#

Is it possible to design a metro styled winform in visual studio 10 or visual studio 11 on windows 7? If so, where can I find info on how to do it? I have already found some links, like…
reaper_unique
  • 2,916
  • 3
  • 28
  • 48