Click here to Skip to main content
15,891,473 members
Everything / Metro-design

Metro-design

Metro-design

Great Reads

by Chris Maunder, Pete O'Hanlon
The Fake Project - The first two days of a Code Project redesign.
by Graham Odds
Toob is a Windows 8 London Underground travel information app.
by Colin Eberhardt
This blog post looks at the new concept of ‘transitions’ that WinRT, within Windows 8, introduces.
by pepethepepe
Access realtime Linux Web server statistics right away from Windows Store App

Latest Articles

by Christian Amado
A brief introduction to Metro Style App Development
by Alvin Bunk
How to dynamically format Phone field with JavaScript
by hjgode
Windows 10 UWP wireless label/receipt printer demo
by Chris Boss
While many companies have been trying to jump onto the Smart Phone bandwagon over the years, Windows devices seem to have had a troubled path there.

All Articles

Sort by Title

Metro-design 

12 Apr 2014 by Alex Turok
Our applications – no matter whether games, productivity tools or business software – are all about data.
18 Apr 2013 by Yvan Rodrigues
A simple but effective way for format bound data in XAML with the Windows Runtime
21 Apr 2015 by Bogdan Bujdea
Access Violation Crash on Windows Phone Devices
1 Nov 2011 by mbcrump
A look at how to add an Application Bar to your XAML Metro applications.
28 Aug 2012 by Member 7915006
How to implement AForge.Net/ Webcam motion detection in Windows 8 metro apps?
29 May 2012 by santosh_pathak
Hands on developing MVVM Application without any Frameworks
29 May 2012 by santosh_pathak
This is the Second Part XML file as data source in Windows8
14 Nov 2012 by Ibrahim Oweidat
I want to add API twitter to my windows 8 metro application(XAML). Any help ?
6 Feb 2013 by Jeff Blankenburg
This is an article I wrote for Windows Phone, but the code and information is still accurate and relevant to Windows 8 development.31 Days of Windows Phone: Day #25 | Talking To External APIs
6 Nov 2020 by Rob Philpott
I AM BEING DRIVEN MAD BY THIS :(So I'm trying to write a Metro App. Leaving aside the tiresome fact that half the framework has been ripped out, there is one thing which I just can't get right.I want to get all the files in a folder (recursively actually but that bit doesn't matter) and...
18 Oct 2012 by Ridge363
Have you tried the AsTask() extenstion method? This may be what you need.Signature:WindowsRuntimeSystemExtensions.AsTask Method (IAsyncOperation)MSDN LinkAsTask Method var f = requestedFolder.GetFilesAsync().AsTask(); IReadOnlyList f = theTask.Result;
27 Jan 2012 by Jarrey
Attached Command for Windows 8 Metro Style in C#
28 May 2013 by Abdullah Mughal
1. I am suffering a problem that I didn't find hidden attribute in metro app, is the keywords are changed in metro app.2. and my second question is related to FileSystemAccessRule. I also didn't find FileSystemAccessRule as present in vs2010. Kindly help needed!
28 Aug 2013 by calincoosmin
Hello,I started today to make an application for windows store (basic stuff - just learning) and i can't do to work the back button. I started with a blank app called "FirstApp" who generated automatically "MainPage.xaml". After this i add a new page (blank page) called "SecondPage.xaml" where...
28 Aug 2013 by ridoy
Have a look at these:Navigator Back button throw exception with windows store app[^]Windows 8 App. Back Button not working[^]
24 Jun 2014 by mayankkarki
I have a url for a file something like "http://my.domai.com/myfile.doc" and if I open this in browser, a popup opens to enter username and password, after that I can view or download file. Now I have to do this download in my win 8.1 app. I used code below:BackgroundDownloader...
24 Jun 2014 by Sergey Alexandrovich Kryukov
This is not a valid URL. Valid URL should start with the URI Scheme "http://" or perhaps "https://". You domain should be known to the DNS, prescribed in the DNS data.Please see:http://en.wikipedia.org/wiki/URI_scheme[^],http://en.wikipedia.org/wiki/DNS[^].—SA
19 Jan 2015 by matthewproctor
Bolo8 - Retro Gaming revisited on Windows Phone, Windows 8 and XBLA
6 Aug 2015 by matthewproctor
Bolo8 - Retro Gaming revisited on Windows Phone, Windows 8 and XBLA
1 Feb 2013 by Marco Bertschi
Does anyone know a good tutorial about BootMetro[^] which he can recommend?It doesn't has to be a bloody beginners` tutorial, I already have ASP.Net, JavaScript and CSS knowledge. But somehow it is messing up the formatting when I use it on my project.Thanks in advanceMarco Bertschi
20 Jan 2015 by matthewproctor
How to build a Windows Phone app
6 Aug 2015 by matthewproctor
How to build a Windows Phone app
1 Feb 2015 by matthewproctor
Lunar Lander was an arcade game developed by Atari, Inc.
22 Oct 2014 by Madhur Kapoor
How to call web service from Windows Phone 8 app
22 Oct 2012 by footballpardeep
Can we create metro app in visual studio 2012 in window 7 by c#.
22 Oct 2012 by Sandeep Mewara
No. You need to have Windows8 for metro app. Whole stack is changed in Win8 and Metro Apps are supported only in Win8 for now.
12 Sep 2015 by jumper77
I'm using VS 2015 and I just put Metro controls in my Winform project. The problem I'm having is that I can't change the background color of any Metro control in the tool box. Maybe it's by design?Any ideas? thanks
12 Sep 2015 by jumper77
Ok... so I'm dumb :) All I had to do was set "UseCustomBackColor" to TRUE. Then I could change the background color. I'm just telling this in case someone is just getting started like me :)
15 Mar 2013 by Sandeep Mewara
It does not work like this here.Here is what is expected of enquirers:1. TRY first what you want to do! You may find that it's not that hard.2. Formulate what was done by you that looks like an issue/not working. Try them and tell if you face issues.Members will be more than happy...
13 Mar 2012 by prashanth_mp
Hi can anybody give some sample or guidance on how to make a carousel view in xaml and c#(metro app)? i'm not getting any 3-D api reference. please help.Thanks and regards,Prashanth
4 Mar 2013 by mayankkarki
I am working on a metro app which provides a change language option to user, so that it changes the application language. I have used resource file for this and coded like this Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride =...
4 Mar 2013 by Jameel VM
Try this linkhttp://fromjamitoothers.blogspot.in/2012/12/globalizationdo-and-dont.html[^]Hope this helps
26 Jul 2013 by Laurence1234
Hi All,I'm developing a metro app.I'd like to know when my app is running in the background so that if a user completes an action that needs to be synced with a server, they can do so in offline mode and when the app is in the background I'd like to be able to try and sync say every...
18 Apr 2012 by Joel Ivory Johnson
Download Code (1.14 MB)I was thinking about how to write code that will work on both Windows Phone 7 and Windows 8 (Metro). In theory some of the techniques that could be used are well known. But I wanted to try them out. So I decided to try some things out in a piece of throw away code.
18 Jun 2013 by MitchG92_24
Hi Guys!I am trying to create a metro application where the user can download applications that are available to them via the software catalog. After reading a few articles I came across this TechNet article that more or less gives me the code to do this:...
20 Jun 2013 by Marc A. Brown
Correct that methods like the one you're describing should all be async in order to keep the Win8 app moving.Is it possible that you don't have the correct capabilities selected in your app's package manifest to give you internet access?Also, be sure to use the "await" keyword so that you...
28 Sep 2012 by yulishein
In above comment, there was some mistakes. Sorry!!!I read PDF content as byte[] and then I use above method. It doesn’t work.But for the image (png, bmp, jpeg) byet[], it works properlyWhy it doesn’t work for PDF byte[]....
28 Sep 2012 by Richard MacCutchan
A PDF file is not a simple byte array, it is a structured file consisting of different content elements. Go to the Adobe website and get a copy of the PDF documentation for further information.
28 Sep 2012 by fjdiewornncalwe
As Richard already noted, A PDF file is not a simple byte array. This[^] article may shed some light on how you need to pursue this.
9 Feb 2013 by Shashank Bisen
how to show the following html content in RichTextBox for win8 appThe strategy at a glance: Core satellite approach, with your existing portfolio as a core. The core should constitute at least half of the portfolio and be broadly diversified. ...
10 Feb 2013 by Valery Possoz
Hello,There's a sample for this on MSDN.http://code.msdn.microsoft.com/windowsapps/Html-to-RTF-a757fac5[^]Valery.
6 Mar 2013 by mayankkarki
Following iphone code is used to upload file in server. And I want to convert this to c# so that I can it use it in my metro application.NSString *urlString = [NSString stringWithFormat:@"http://ip address/win8/PNGUpload-xml.php?device=win8&UID=%@",appDelegate.UID];NSMutableURLRequest...
6 Mar 2013 by Maciej Los
You don't need to convert anything...See this: how to download a file from internet[^]. It should works with metro application.BTW: Thank you Sergey for your Great Job![EDIT]Downloading and Uploading means almost the same but in different direction ;)Start here: QuickStart:...
4 May 2012 by MohammadAli SJ
I tried to make a small game that's need a timer, countdown from 10 to 0. But at this Visual Studio there is no Timer Component, and DispatcherTimer Not mapped to an xmlns.I Tried to use TimeSpan, that have this field "TicksPerSecond" But this example dosen't help me to make my countdown...
4 May 2012 by Darshan.Pa
from references you need to add reference from solition explorer.u can add timer referece from the diolog shown.and then use Timer class it has so many properties.
12 Dec 2012 by calincoosmin
Hello, i need to build an app that use a countdown (Years, Days, Hour, Minutes, Seconds). I've tried to write a code and i succeed to calculate the time, but when i try to put this time as a string in a texblock, he is not updating. Can anyone help me to set the textblock to update himself ?...
15 Dec 2012 by calincoosmin
I found the solution to my problem.void t_Tick(object sender, object e) { TimeSpan ts = endtime.Subtract(DateTime.Now); string countdowndays = ts.Days.ToString(); daytxtblk.Text = countdowndays; string countdownhours =...
16 Aug 2012 by Dillon Ding
Please give some description about thread management include create,synchronous etc. on Metro app.
29 Jun 2014 by saramgsilva
  This article aims to present the Microsoft App Studio for creating applications for Windows Phone 8.1 and Windows 8.1. A few months ago Microsoft released Windows Phone App Studio Beta, a service that allows any person without programming skills … Continue reading →
26 Jan 2013 by pepethepepe
Access realtime Linux Web server statistics right away from Windows Store App
17 Nov 2014 by payjo
I create Mahapps custom dialog message with this code. the problem is the dialog form not show close button so cant close it. how to show close button ? public async void button_Click(object sender, RoutedEventArgs e) { Button btn = (Button) sender; ...
18 Jun 2013 by TitanDevelopers
Hello, I am currently working on an application for Windows Phone 7+ and am lost as to how to create a dynamic menu bar at the bottom of my application. When the user clicks on the bar at the bottom, it should act exactly like the Application Bar by sliding about halfway up the screen. I have...
16 Apr 2012 by Joel Ivory Johnson
Data serializer update for Windows Metro.
24 Jul 2012 by aadharshkannan
This gives you a modified version of Seadragon to run in Windows 8 Metro UI.
10 Feb 2014 by LLLLGGGG
Hi,I need to write an app which controls my skydrive account. It is something really simple: I have some files in a directory and I need to upload them to my skydrive no matter if my app is running, suspended or terminated.I would like to give that directory the same control as Skydrive...
17 Aug 2016 by hjgode
Windows 10 UWP wireless label/receipt printer demo
23 Jul 2013 by Laurence1234
Hi All, I know this might appear to be a silly question but I'm coming up against some problems developing an app using the Metro framework and I'm looking for a definitive answer as to what the difference is between Metro and desktop application development.Aside from getting to grips...
23 Jul 2013 by Yvan Rodrigues
AS far as the differences go, I have used this guide[^] in the past.Also when searching for Metro/Windows RT framework-related stuff, often the term Windows Store app yields good results. The fact that they chose to use the term Windows Store to describe a type of application is idiotic, as...
6 Feb 2013 by MitchG92_24
Hi All, I am developing in the metro environment. The user will search for an article on an internal business system which will then be displayed.This system is used over the interent and the resultign pages are .aspx pages. I've tried using the webview control and setting the source...
17 Feb 2014 by hitech_s
In my windows 8 app we are using WCF service to fetch the data, in the app images are displaying with the image urls like "http://mysite.com/images/sample.png".In the xaml i am using image tag to display the image like this.
17 Feb 2014 by Krunal Rohit
See this link[^].From this, you can get Resolution of your Image. Now what you have to do is, once you get the particular resolution, put a check and within it write some logic to change the image.Hope this info will help you. Give it a try.Good Luck :)-KR
2 Feb 2012 by Phan Tien Dung
In Metro apps, WinRT has namespace Windows.Devices.Enumeration which has DeviceInformation class to get information from many devices of the computer. I wonder if WinRT supports to get BIOS information...Please help me to figure this question ???
27 Jun 2012 by Farhan Ghumra
Example in JavaScript - MSDN[^]
22 Sep 2012 by Palavos
I am trying to create a Windows 8 Metro version of my Huo Chess, by using Visual Studio Express 2012 for Windows 8 and XAML/C#. I seem to have a problem with refreshing the chessboard.When the user enters a move, the program redraws the chessboard and then calls the ComputerMove function to...
23 Sep 2012 by Palavos
Solution found!See the code below:RedrawTheChessboard(HuoChess_main.ChessBoard);textBox_main.Text = "Thinking..."//Application.DoEvents();await Task.Run(() = HuoChess_main.ComputerMove(HuoChess_main.ChessBoard));I call the RedrawChessboard function and then call the...
25 Jun 2012 by Farhan Ghumra
Hello,I m developing paint like application for windows 8. I have tried but I can't even developed even a line drawing tool. My application will have free hand tool, line, rectangle, ellipse, circle drawing tool, erasor. I am using canvas tool for drawing.So please guide me with some...
26 Jun 2012 by Sergey Alexandrovich Kryukov
[In response to follow-up discussion:]So, are you saying you could not find appropriate articles in MSDN? First, how about other than MSDN? What's wrong about this one:http://www.c-sharpcorner.com/UploadFile/65fc13/drawing-features-in-windows-8-metro-style-apps/[^]?As to MSDN, please...
22 Jul 2012 by Farhan Ghumra
i have successfully developed my app, you can check Metro Paint[^]
22 Oct 2012 by RafagaX
Probably a bit late, but you may (or others) find Drawing Library for Modern UI useful, it's a replacement for System.Drawing namespace that draws on top of a Canvas and provides a GDI+ like API.
28 Oct 2013 by Vineeth.B
Hi,I am trying to develop a metro application in c# to render text in 3d.I was able to render the text using SharpDX library.Here is how i rendered the text:1. I created a bitmap which contains the text to render2. Then rendered the bitmap as a texture in a 3d cube surfce.But...
30 Nov 2016 by Alvin Bunk
How to dynamically format Phone field with JavaScript
23 Sep 2011 by mbcrump
A look at how to enable Frame Rate Counter for XAML Applications in Windows 8
30 Aug 2012 by aajeesh
Is there is any equivalent of ThreadPool.RegisterWaitForSingleObject in metro style app development? It is for implementing timeout functionality in an asynchronous operation as in the example here. Thanks in advance.
17 Oct 2012 by mayankkarki
Hi,I had made a app for windows phone in which I am using Reminder class of scheduler namespace. Now I want to make this app for win8 also but did not find how to do this in metro application.
17 Oct 2012 by Sergey Alexandrovich Kryukov
This would be using of the Windows Task Scheduler:http://en.wikipedia.org/wiki/Windows_Task_Scheduler[^].I don't think Windows 8 introduces anything new to it. Task Scheduler 2.0 was introduced with Windows Vista and included in Windows Server 2008 as well.Please see the .NET...
27 Jun 2012 by Farhan Ghumra
Hi, I am developing a paint like application in metro style. I want to apply a eraser functionality. So how can I make such a tool for erasing the content from canvas like we do in MS paint ?I don't want to clear whole canvas, wherever I click or drag the pointer, the path traveled by the...
27 Jun 2012 by Zoltán Zörgő
I have no experience in metro, but erasing in a raster environment is nothing more than painting with background color.
15 Mar 2013 by vivek.khatri
I have managed to encrypt a file and set its extension to (.encrypted).Now, I am trying to add file type association in my App so that whenever the user opens a file with extention (.encrypted), it will be opened with my metro app so that i can process on that file (i.e. decrypt that file...
25 Mar 2013 by Jeff Blankenburg
I wrote a pretty immersive article on this in my "31 Days of Windows 8" series.http://31daysofwindows8.comHere's the article:http://www.jeffblankenburg.com/2012/11/18/31-days-of-windows-8-day-18-file-associations-app-contracts
31 Aug 2012 by summerrain_90
im creating a metro style app and i need to get response from internet resource in win form app: // Create the web request HttpWebRequest request = WebRequest.Create("https://abc.com/") as HttpWebRequest;// Get response using (HttpWebResponse response = request.GetResponse()...
5 Sep 2012 by aajeesh
Hope this helps..http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.begingetrequeststream.aspx[^]
18 Sep 2013 by Bilaal John S
using System.Net;//Web RequestHttpWebRequest Imgrequest = (HttpWebRequest)WebRequest.Create("web address");NetworkCredential credential = new NetworkCredential("username", "password", "domain");Imgrequest.Credentials = credential; //If authentication required for the web...
3 Nov 2012 by mayankkarki
Hi,I am working in a metro app to show youtube videos and user can play or rate video. I am using this uri http://gdata.youtube.com/feeds/api/videos/ADos_xW4_J0?v=2&alt=jsoncand get json response but now when I am trying to deserialize it into c# class I am getting error. I am using...
3 Nov 2012 by mayankkarki
Hi,Thank god its not a big deal. I just added the newtonsoft dll reference, may be this is the problem beacause when I install the newtonsoft package from package console everything gets solved, no error is thrown.
8 Feb 2013 by Shashank Bisen
I have a class class Strategy { public Implementataion Implementataion = new Implementataion(); public BenefitRisk BenefitRisk = new BenefitRisk(); public Overview Overview = new Overview(); public string RBId { get; set; } public string Name { get; set; } public string...
17 Jan 2012 by Kunal Chowdhury «IN»
How to get started with Windows 8 Metro Style application
21 Apr 2014 by Madhur Kapoor
I started developing application for the Windows Phone platform a few months ago. There are a lot of things i learned along the way and i want to share all that with you through a series of blog posts. In the current post, we will focus on the basic and will develop a very simple […]
22 Jul 2012 by Farhan Ghumra
I have checked this MediaCapture[^] sample. I tried to record audio but when I press "StartDevice" button, I got "Exception from HRESULT: 0xC00DABE0". My audio device is working perfectly, I have checked with Windows 8's built in sound recording app. Can anyone please help me to sort out this...
8 Aug 2012 by Farhan Ghumra
Finally got the solution myself, I changed this line:await m_mediaCaptureMgr.InitializeAsync();to this:await m_mediaCaptureMgr.InitializeAsync(settings);
8 Jul 2012 by Farhan Ghumra
Hi, I am developing a note taking application in C#/XAML. I want a user to write anything on canvas with InkManager of "Windows.UI.Input.Inking". Then I want to display it as text onto canvas and then I want to save those recognized text in either text or image format.I have checked MSDN[^]...
10 Jul 2012 by Farhan Ghumra
Here is my solution IReadOnlyList text; string finalt = ""; private async void Recognize_Click(object sender, RoutedEventArgs e) { IReadOnlyList x = await _inkManager.RecognizeAsync(InkRecognitionTarget.All); ...
27 Sep 2011 by Ubloobok
Good day.I have the task to create a template for DocumentViewer, which candisplay the FixedDocument Pages in horizontal layout, not a landscape.Default template displayed like this:Page |Page | ScrollPage |I want to display it like in the Metro UI Style for...
7 Oct 2012 by aounali
Hello there , Im developing win8 metro style app , i got stuked at one point since last 1 week, I want variable size tiles in my app but dont knw whats the problem in my code please help.
9 Oct 2012 by Mike DiGiovanni
If I understand what you are trying to ask for. You are going to need a tiny bit of code beyond your XAML.The big key is that you need to derive from GridView and override PrepareContainerForItemOverrideI've attached two great links for handling this as the below sources.Sources:...
18 Sep 2013 by Bilaal John S
Please check the information's from the below link.In common there are small and wide sized tiles.http://social.msdn.microsoft.com/Forums/windowsapps/en-US/87cde4b9-b338-4f56-a866-95c64309542b/about-creation-of-tiles-for-windows-8-using-metro-style-apps[^]Thanks,Bilaal
8 May 2014 by Vineeth.B
Hi,I am using gridview control and i have populated a list of images by modifying the itemtemplate of gridview. Now i need to enable/disable some of the items in the list.Are there any solutions for doing this???Thanks.
29 Dec 2013 by SubhamSoni123
How to get the skydrive link of the uploaded file
21 Jun 2013 by Ashish679
Is there any method to hide mouse pointer in a windows metro app?