Windows 8 Metro style app samples
Download Windows 8 code samples and demo apps. New samples are added frequently in JavaScript, C++, C#, and Visual Basic.You can also download code samples for other products like Windows Azure, Office, SharePoint, Silverlight, or explore the Official Visual Studio 2010 C#, VB.NET, and 101 LINQ samples.
Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
|
This sample shows how to use the Windows.Devices
|
Featured
|
|
|
This sample pack includes all the Metro style app code examples developed for Windows 8 Consumer Preview. The samples in this pack are available in in C#, C++, VB.NET, and JavaScript. The sample pack provides a convenient way to download all the samples at once.
|
(158)
9/14/2011
344,637
Downloads
|
|
|
This sample shows how to imitate the splash screen that Windows displays for your app by positioning a similar image correctly when Windows dismisses the splash screen that it displays. This sample uses the SplashScreen class in the Windows.Applica
|
(18)
9/14/2011
54,632
Downloads
|
|
|
This sample shows how to create, read, write, copy and delete a file, how to retrieve file properties, and how to make your app remember a file or folder so that it can access it later. This sample uses Windows.Storage and Windows.Storage
|
(22)
9/14/2011
38,437
Downloads
|
|
|
This sample demonstrates how to use the ApplicationSett
|
(5)
2/29/2012
9,907
Downloads
|
|
|
This sample shows how to use an app tile, which is the representation and launch point for your app in the Start screen, and a badge on that tile, which is a method for the app to relay status information to the user when the app is not running.
|
(12)
2/29/2012
12,921
Downloads
|
|
|
The Geolocation sample demonstrates how to use the Geolocation API to get the geographic location of the user's PC.
|
(11)
9/14/2011
15,061
Downloads
|
|
|
This sample shows how to use file pickers so that the user can select files and folders for your app to access and operate on and how to let the user specify the name, file type, and location of a file to save. This sample uses Windows.Storage
|
(11)
9/14/2011
17,324
Downloads
|
|
|
This sample shows how to create a context menu and how to replace the default context menu for text. This sample uses Windows.UI.Popu
|
(5)
9/14/2011
11,833
Downloads
|
|
|
Application data sample This sample shows you how to store and retrieve data that is specific to each user and Metro style app using the Windows Runtime application data APIs. Application data includes session state, user preferences, and other sett...
|
(6)
9/14/2011
11,027
Downloads
|
|
|
This sample shows you how to create and register background tasks using the Windows Runtime background task API.
|
(10)
9/14/2011
13,778
Downloads
|
|
Download the tools and SDK