Background Transfer sample (Windows 8) |
This sample demonstrates the power-friendly, cost-aware, and flexible behavior of the Background Transfer API for Windows Runtime applications. Provided sample scenarios cover file downloads and uploads. |
CryptoWinRT sample (Windows 8) |
This sample shows how to use the new Cryptography APIs. |
Print sample (Windows 8) |
This sample demonstrates how apps can integrate the Windows print experience. The scenarios demonstrated in this sample include: Printing from the app by using the charms bar and the print contract, Printing from within the app experience, and more. |
HttpClient sample (Windows 8) |
This sample demonstrates the use of the HttpClient class and the IXMLHTTPRequest2 interface to upload and download various types of content from an HTTP server using the networking features provided by the Windows Runtime. |
Accelerometer sensor sample (Windows 8) |
This sample shows how to use the Windows.Devices.Sensors.Accelerometer API. This sample allows the user to view the acceleration forces along the X-, Y-, and Z-axes for a 3-axis accelerometer. You can choose one of three scenarios. |
Account picture name sample (Windows 8) |
This sample demonstrates different ways of getting the name of the user that is currently logged in. It also demonstrates how to get and set the image used for the user's tile. |
App settings sample (Windows 8) |
This sample demonstrates how to use the ApplicationSettings API and settings flyouts to integrate an app's settings UI with the Settings charm. The sample uses the Windows.UI.ApplicationSettings namespace and WinJS.UI.SettingsFlyout . |
Windows Store device app for camera sample (Windows 8) |
This sample demonstrates how to create a Windows Store device app for a camera. A Windows Store device app is provided by an IHV or OEM to differentiate the capture experience for a particular camera. |
Getting started with C++ simple blog reader sample (Windows 8) |
The sample demonstrates some basic principles of Windows Store app development in native C++ using XAML to define the user interface. It's a complete working version of the application discussed on the Windows Developer Center. |
Reading and writing data sample (Windows 8) |
This sample shows how to use the DataReader and DataWriter classes to store and retrieve data. |
Application data sample (Windows 8) |
This sample shows you how to store and retrieve data that is specific to each user and Windows Store app using the Windows Runtime application data APIs. Application data includes session state, user preferences, and other settings. |
Custom driver access sample (Windows 8) |
This sample shows how to use CreateDeviceAccessInstance and IDeviceIoControl to access a specialized device. |
XAML ListView and GridView essentials sample (Windows 8) |
This sample demonstrates how to use the GridView and ListView controls. |
Animation metrics sample (Windows 8) |
This sample shows how to use the Animation Metrics APIs in Windows.UI.Core.AnimationMetrics to access the raw parameters that define the animations in the Windows Animation Library. |
Playback Manager msAudioCategory sample (Windows 8) |
This sample demonstrates how to select the correct msAudioCategory category for an audio-video (AV) stream to configure it as an audio playback stream. |
XAML DirectX 3D shooting game sample (Windows 8) |
This sample demonstrates the implementation of a simple first person 3-D game using DirectX (Direct3D 11.1, Direct2D, XInput, and XAudio2) and XAML in a C++ app. XAML is used for the heads-up display and game state messages. |
XAML scrolling, panning, and zooming sample (Windows 8) |
This sample demonstrates how to use the ScrollViewer control to pan and zoom. |
XAML FlipView control sample (Windows 8) |
This sample demonstrates how to use the FlipView control to enable users to flip through a collection. |
Gyrometer sensor sample (Windows 8) |
This sample shows how to use the Windows.Devices.Sensors.Gyrometer API. This sample allows the user to view the angular velocity along the X-, Y-, and Z-axis for a 3-axis gyrometer. |
Device app for printers SDK sample (Windows 8) |
This sample shows how to create a device app for printers that can be activated from the tile contract, the printTaskSettings contract, and from toast displayed by backgroundTask in response to print driver event. |
Background task sample (Windows 8) |
This sample shows you how to create and register background tasks using the Windows Runtime background task API. A background task is triggered by a system or time event, and can be constrained by one or more conditions. |
StreamSocket sample (Windows 8) |
This sample demonstrates the basics of the StreamSocket class using the networking features provided by the Windows Runtime. The client component of the sample creates a TCP socket to make a network connection, uses the socket to send data, and more. |
Scheduled notifications sample (Windows 8) |
This sample shows how to use scheduled and recurring tile updates and toast notifications for an app. This ability enables you to specify a precise time to deliver the notification, even if the app isn't running. |
Playback Manager Companion Sample (Windows 8) |
This sample demonstrates how to select the correct msAudioCategory category for an audio-video stream to configure it as an audio playback stream. |
OrientationSensor sample (Windows 8) |
This sample shows how to use the Windows.Devices.Sensors.OrientationSensor API. It allows the user to view the rotation matrix and Quaternion values that reflect the current device orientation. |
File access sample (Windows 8) |
This sample shows how to create, read, write, copy and delete a file, how to retrieve file properties, and how to track a file or folder so that your app can access it again. This sample uses Windows.Storage and Windows.Storage.AccessCache API. |
Removable storage sample (Windows 8) |
The removable storage sample demonstrates how to transfer files to and from removable storage devices. This sample requires a removable storage device connected to the system, such as a camera, media player, cellular phone, or a USB thumb drive. |
XAML SurfaceImageSource DirectX interop sample (Windows 8) |
This sample demonstrates how to use a SurfaceImageSource to include DirectX content in your XAML app. This sample uses both C++ and C#. |
Connecting with WebSockets sample (Windows 8) |
This sample demonstrates how to use WebSockets in a connected Windows Store app. The sample covers basic functionality, such as how to make a connection, send and receive data, and close the connection. |
Configure keys for media sample (Windows 8) |
This sample demonstrates how to configure the hardware media keys on a keyboard. Then, how to use the configured keys to control an audio-video stream by pressing or clicking play, pause, stop, and so on. |
XAML personality animations sample (Windows 8) |
This sample demonstrates how to use the built-in personality animations in your app. |
Toast notifications sample (Windows 8) |
This sample shows how to use toast notifications: Ones that appear as pop-up notifications in the upper right corner of the screen. A user can select the toast (touch or click) to launch the associated app. |
Contact Picker app sample (Windows 8) |
This sample demonstrates how to use the Contact Picker to select one or more contacts. It also includes a basic implementation of the Contact Picker APIs to demonstrate how to display a list of contacts to the user. |
DirectX marble maze game sample (Windows 8) |
This sample demonstrates how to build a basic 3D game using DirectX. This game is a simple labyrinth game where the player is challenged to roll a marble through a maze of pitfalls using tilt controls. |
DirectX postcard app sample (Windows 8) |
This sample demonstrates the implementation of a simple Windows Store app using DirectX with C++ for postcard creation using DirectX and XAML interop. |
DirectX 3D shooting game sample (Windows 8) |
This sample demonstrates the implementation of a simple first person 3-D game using DirectX (Direct3D 11.1, Direct2D, XInput, and XAudio2) in a C++ app. |
XAML AppBar control sample (Windows 8) |
This sample demonstrates how to use the AppBar control to present navigation, commands, and tools to users. The app bar is hidden by default and appears when users swipe a finger from the top or bottom edge of the screen. |
Date and time formatting sample (Windows 8) |
This sample demonstrates how to use the DateTimeFormatter class in the Windows.Globalization.DateTimeFormatting namespace to display dates and times according to the user's preferences. |
Secondary tiles sample (Windows 8) |
This sample shows how to pin and use a secondary tile. That's a tile that directly accesses a specific, non-default section or experience within an app, such as a saved game, or a specific friend in a social networking app. |
Input Touch hit testing sample (Windows 8) |
This sample uses a polygon shapes puzzle to demonstrate how to handle pointer input, implement custom hit testing for touch input, and process manipulations in a Windows Store app using C++ and DirectX. |
Network information sample (Windows 8) |
This sample demonstrates how to use the Windows Runtime Network Information APIs. |
Input Simplified ink sample (Windows 8) |
This sample demonstrates how to use ink functionality in Windows Store apps. |
StorageDataSource and GetVirtualizedFilesVector sample (Windows 8) |
This sample shows how to retrieve and display images in the user's Pictures Library. |
Edge-based gesture invocation sample (Windows 8) |
This sample shows how to listen for events that occur in edge-based UI, using the EdgeGesture class. |
Check if current session is remote sample (Windows 8) |
This sample demonstrates the use of Windows.System.RemoteDesktop API. |
Application resources and localization sample (Windows 8) |
This sample shows how to use application resources to separate localizable content from application code. The sample uses the Windows.ApplicationModel.Resources.Core and Windows.Globalization namespaces, and WinJS.Resources . |
Context menu sample (Windows 8) |
This sample shows how to create a context menu and how to replace the default context menu for text. This sample uses Windows.UI.Popups API, including the PopupMenu and the oncontextmenu event. |
Geolocation sample (Windows 8) |
The Geolocation sample demonstrates how to use the Geolocation API to get the geographic location of the user's PC. An app can use the Geolocation API to get location one time, or it can continuously track the location. |
Message dialog sample (Windows 8) |
This sample demonstrates how to use a MessageDialog for displaying dialogs, setting commands and their actions, and changing the default button. The Windows.UI.Popups namespace contains the MessageDialog class. |
MediaStreamSource media extension sample (Windows 8) |
This sample shows how to support the Microsoft Silverlight MediaStreamSource concept in a Windows Store app. |
DirectWrite vertical text sample (Windows 8) |
This sample uses DirectWrite and Direct2D to properly display vertical text in a custom layout shape. |
DXGI swap chain rotation sample (Windows 8) |
This sample demonstrates the IDXGISwapChain1::SetRotation method and how you can use the method in conjunction with prerotated content to improve presentation performance. |
Direct2D custom image effects sample (Windows 8) |
This sample demonstrates how to implement custom Direct2D Effects using standard pixel, vertex, and compute shaders. |
DirectX touch input sample (Windows 8) |
This sample demonstrates touch and mouse navigation of a 3-D environment in a C++ app with Direct3D. |
XInput game controller sample (Windows 8) |
This sample demonstrates the use of the XInput APIs in a C++ app. It reads input from an Xbox game controller and displays data about the analog stick movements and button presses. |
Direct3D-Direct2D interop sample (Windows 8) |
This sample shows how to interoperate with Direct2D and DirectWrite to write text to a Direct3D render target. It's an effective way to create heads-up displays and text-based readouts such as scoring panels in games and 3-D apps. |
Syndication sample (Windows 8) |
This sample demonstrates a basic Windows Store app for Windows 8 that can retrieve feeds from a web service. This sample is currently provided in the JavaScript, C#, C++, and VB programming languages. |
App tiles and badges sample (Windows 8) |
This sample shows how to use an app tile, which is the representation and launch point for your app in the Start screen. It also shows how to use a badge on that tile. It's a method for the app to relay status information to the user when the app isn't running. |
XAML user and custom controls sample (Windows 8) |
This sample demonstrates how to create and use XAML UserControl elements and create custom controls for your projects. |
Direct3D resource loading sample (Windows 8) |
This sample demonstrates Direct3D resource loading for C++ apps with DirectX. |
XAML ListView and GridView customizing interactivity sample (Windows 8) |
This sample demonstrates the interaction model of the ListView control. |
XAML WebView control sample (Windows 8) |
This sample demonstrates how to use the WebView control to display a URL, load HTML, interact with script within a WebView , and use WebViewBrush . |
Compass sensor sample (Windows 8) |
This sample demonstrates how to use the Windows.Devices.Sensors.Compass API. This sample allows the user to view the compass reading as a magnetic-north and, depending on the installed sensor, a true-north value. |
Display orientation sample (Windows 8) |
This sample demonstrates how to use the DisplayProperties class to set the display orientation in an app. |
Direct2D interpolation modes sample (Windows 8) |
This sample shows the various interpolation modes used by Direct2D. |
Globalization preferences sample (Windows 8) |
This sample demonstrates how to use the Windows.System.UserProfile.GlobalizationPreferences class to obtain the user's globalization preferences. It also shows how to use the GeographicRegion and Language classes. |
Direct2D geometry realization sample (Windows 8) |
This sample shows how multi-core geometry tessellation can help reduce geometry rendering time. Using opacity masks and meshes is an alternative to traditional geometry rendering that may be better in some situations. |
Language font mapping sample (Windows 8) |
This sample demonstrates how to obtain language-specific font recommendations using the LanguageFontGroup class in the Windows.Globalization.Fonts namespace. |
Inclinometer sensor sample (Windows 8) |
This sample shows how to use the Windows.Devices.Sensors.Inclinometer API. This sample allows the user to view the angles of incline about the X-, Y-, and Z-axis for a 3-axis inclinometer. |
XAML high contrast style sample (Windows 8) |
This sample demonstrates various techniques for implementing support for high contrast mode in your app. Support for high contrast mode is important to make your app accessible to people with eyesight problems. |
Input Device capabilities sample (Windows 8) |
This sample demonstrates how to query the input devices that are connected to the user's device. And, how to support the pointer, touch, pen/stylus, mouse, and keyboard input modes of Windows Store apps. |
EAS policies for mail clients sample (Windows 8) |
This sample shows how mail clients can retrieved device information and work with supplied Exchange Active Sync (EAS) policies. Windows Store apps can configure their mail clients to stay compliant with the given EAS policies. |
DatagramSocket sample (Windows 8) |
This sample demonstrates the basics of the DatagramSocket class using the networking features provided by the Windows Runtime. The client component of the sample creates a UDP socket, uses the socket to send and receive data, and closes the socket. |
DirectWrite hello world sample (Windows 8) |
This sample shows how to use DirectWrite and Direct2D to render the text "Hello World" to a CoreWindow . |
Compression sample (Windows 8) |
This sample demonstrates how to read structured data from a file and write compressed data to a new file and how to read compressed data and write decompressed data to a new file. Many applications need to compress and decompress data. |
Network status background sample (Windows 8) |
This sample demonstrates how to determine a change in Internet connection profile by registering a background task handler for Network Status Change event using an Internet Present condition. |
App package information sample (Windows 8) |
This sample shows you how to get package information using the Windows Runtime packaging API. Users acquire your Windows Store app as an app package. Windows uses the information in an app package to install the app on a per-user basis. |
LightSensor sample (Windows 8) |
This sample shows how to use the Windows.Devices.Sensors.LightSensor API. This sample allows the user to view the ambient light reading as a LUX value. You can choose one of two scenarios: LightSensor data events, Current light sensor readings, and more. |
Mobile broadband account provisioning sample (Windows 8) |
This sample demonstrates how to use the Windows 8 Mobile Broadband provisioning agent API (Windows.Networking.NetworkOperators.ProvisioningAgent ) to configure Windows 8 with required connectivity information and access provisioning. |
Media Play To sample (Windows 8) |
This sample demonstrates the Play To API. It shows how you can expand your media application to stream video, audio, and images to other devices on your local network. |
Input Touch keyboard sample (Windows 8) |
This sample demonstrates how to launch the touch keyboard automatically in custom controls that aren't derived from platform controls. The sample implements custom controls that require keyboard input and aren't derived from standard XAML controls. |
XAML animation library sample (Windows 8) |
This sample demonstrates how to animate elements and apply easing functions to the animations to achieve various effects. |
Snap sample (Windows 8) |
The snapped state is one of the four possible application view states. Snapping an app resizes the app to 320 pixels wide, which allows it to share the screen with another app. Snapping enables two apps to be visible at the same time. |
Transcoding media sample (Windows 8) |
This sample demonstrates how to use the Windows.Media.Transcoding API to transcode a video file in a Windows Store app. Transcoding is the conversion of a digital media file, such as a video or audio file, from one format to another. |
XAML two-dimensional transforms sample (Windows 8) |
This sample demonstrates how to use two-dimensional transforms to modify how elements are displayed in your app. A transform defines how to map, or transform, points from one coordinate space to another coordinate space. |
IXmlReader and IXmlWriter XML data read write sample (Windows 8) |
This sample demonstrates how to use IXmlReader and IXmlWriter in your Windows Store app with C++. They're used to read and write XML data from a flat XML-formatted text file. These interfaces are part of the Windows Win32 and COM APIs, but are supported by the Windows Runtime. |
Media capture using capture device sample (Windows 8) |
This sample demonstrates how to use the MediaCapture API to capture video, audio, and pictures from a capture device, such as a webcam. |
XAML Popup sample (Windows 8) |
This sample demonstrates how to create and use the XAML Popup element in your projects. |
CameraCaptureUI Sample (Windows 8) |
This sample demonstrates how to use the Windows.Media.Capture.CameraCaptureUI API, which displays a full-screen UI for capturing photos or videos. The Camera Capture UI provides controls for switching from photo to video, a timer for taking time-delayed photos, and more. |
XAudio2 audio file playback sample (Windows 8) |
This sample demonstrates the use of XAudio2 in an app. |
Hilo C++ sample (Windows 8) |
This sample demonstrates how to build a complete Windows Store app using C++ and XAML. The Hilo photo sample provides guidance to C++ developers that want to create a Windows 8 app using modern C++, XAML, and the Windows Runtime. |
DirectWrite custom text renderer sample (Windows 8) |
This sample shows how to implement a custom text renderer for DirectWrite. |
DirectWrite font enumeration sample (Windows 8) |
This sample shows how to use DirectWrite to list the fonts in the system font collection on a user's device. |
Direct2D perspective transform sample (Windows 8) |
This sample shows how to use the DrawBitmap API to display an image with a perspective transform applied to it. |
CameraOptionsUI Sample (Windows 8) |
This sample demonstrates how to use camera options in a device app. The CameraOptionsUI API displays a UI for adjusting camera settings. This sample requires a webcam. |
XInput audio controller playback sample (Windows 8) |
This sample demonstrates XAudio2 playback to an XInput device, such as a headset, in an app. |
Direct2D 3D transform effect sample (Windows 8) |
This sample demonstrates the different methods to transform an image in 3-D space. |
Windows account authorization sample (Windows 8) |
This sample demonstrates how to use the members of the Windows.Security.Authentication.OnlineId namespace to authenticate a user with their Microsoft Account in delegation mode. And, how to send acquired tokens to Live Connect APIs using REST protocol. |
Number formatting and parsing sample (Windows 8) |
This sample demonstrates how to use the DecimalFormatter , CurrencyFormatter , PercentFormatter , and PermilleFormatter classes in the Windows.Globalization.NumberFormatting namespace. They're used to display and parse numbers, currencies, and percent values. |
DXGI offer and reclaim resources sample (Windows 8) |
This sample demonstrates the use of the DXGI IDXGIDevice2::OfferResources and IDXGIDevice2::ReclaimResources APIs in a C++ app with DirectX. |
Web authentication broker sample (Windows 8) |
This sample demonstrates the web authentication broker WinRT API. It lets you enable single sign-on (SSO) connections to OAuth providers such as Facebook, Google, Microsoft, and Twitter. |
XAudio2 audio stream effect sample (Windows 8) |
This sample demonstrates audio streaming in a C++ app using the XAudio2 and Media Foundation APIs. |
Splash screen sample (Windows 8) |
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. |
SMS background task sample (Windows 8) |
This sample shows how to use the Windows 8 Mobile Broadband SMS API (Windows.Devices.Sms ) with the Background Task API (Windows.ApplicationModel.Background ) to send and receive SMS text messages. |
SMS message send, receive, and SIM management sample (Windows 8) |
This sample shows how to use the Windows 8 Mobile Broadband SMS API (Windows.Devices.Sms ). |
Trial app and in-app purchase sample (Windows 8) |
This sample demonstrates how to use the licensing API provided by the Windows Store to determine the license status of an app, or of a feature enabled by an in-app purchase. |
Input Touch keyboard text input sample (Windows 8) |
This sample shows how to enable optimized views on the touch keyboard. It works by using input scopes and input types with controls in the WinJS.UI namespace, and with the TextBox and RichEdit XAML controls. |
XAML text editing sample (Windows 8) |
This sample demonstrates how to use text input controls in your app. |
Thread pool sample (Windows 8) |
This sample shows you how to run work items asynchronously using the Windows Runtime thread pool API. |
UI Automation core window provider sample (Windows 8) |
This sample demonstrates how to create a Microsoft UI Automation provider. It makes programmatic information about a Windows Store app available to accessible technologies such as screen readers. The sample is a Direct2D application. |
XAML accessibility sample (Windows 8) |
This sample shows you how to add basic accessibility support to your app. |
Playlist sample (Windows 8) |
This sample demonstrates how to create, save, display, and edit a playlist of audio files. This sample uses classes that are in the Windows.Media.Playlists namespace. |
Media Server client sample (Windows 8) |
This sample demonstrates how to create a Media Server client using the Media Server API. The Media Server sample demonstrates how to browse a Digital Media Server programmatically on your local network, and display all of its video files. |
Direct2D magazine app sample (Windows 8) |
This sample shows how to use Direct2D, DirectWrite, Windows Imaging Component (WIC), and XAML to build an app with a magazine-type presentation. |
Mobile broadband account and device management sample (Windows 8) |
This sample shows how to use the Windows 8 Mobile Broadband API (Windows.Networking.NetworkOperators ) employed by Mobile Network Operators (MNO). It demonstrates how to use the MobileBroadbandAccount APIs to retrieve and display available Mobile Broadband accounts. |
Proximity sample (Windows 8) |
This sample demonstrates how to use the PeerFinder and ProximityDevice classes to communicate with nearby computers. You can use the Proximity API to exchange small messages during a tap gesture or set up a socket connection between peer apps. |
Creating a Windows Runtime in-process component sample (C++CX) (Windows 8) |
This sample shows how to create a component in C++/CX that's used in C++/CX, JavaScript, and C# client code. The OvenServer project contains a runtime class named Oven , which implements an IOven interface and an IAppliance interface. |
Device auto rotation preferences sample (Windows 8) |
This sample shows how to use the DisplayProperties class to handle and verify device rotation events. |
Real-time communication sample (Windows 8) |
This sample demonstrates how to use the low latency feature to enable real-time communication applications. |
Sharing content source app sample (Windows 8) |
This sample demonstrates how an app can share content with another app. This sample uses classes from the Windows.ApplicationModel.DataTransfer namespace. |
Search contract sample (Windows 8) |
This sample shows how to let users search your app when they select the Search charm and open the search pane. And, how to use the search pane to display suggestions for users' queries. |
Raw notifications sample (Windows 8) |
This sample shows how to use raw notifications, which are push notifications with no associated UI that perform a background task for the app. |
Direct2D basic image effects sample (Windows 8) |
This sample shows how to load an image, apply the Gaussian blur effect to it, and then display it in a Windows::UI::Core::CoreWindow . |
Direct2D effects on primitives sample (Windows 8) |
This sample shows how to apply image effects to Direct2D primitives. This sample draws rounded rectangles using Direct2D and then draws DirectWrite text in the middle of the rectangles. Then it applies an effect graph to it. |
ControlChannelTrigger StreamSocket sample (Windows 8) |
The sample shows how to use the ControlChannelTrigger class in a Windows Store app. It uses a TCP StreamSocket , so the app is always connected and always reachable. This sample demonstrates the use of background network notifications. |
ControlChannelTrigger StreamWebSocket sample (Windows 8) |
The sample shows how to use the ControlChannelTrigger class to enable a Windows Store app using a StreamWebSocket to be always connected and always reachable. This sample demonstrates the use of background network notifications. |
Association launching sample (Windows 8) |
This sample shows you how to launch the user's default app for file type or a protocol. You can also learn how to enable your app to be the default app for a file type or a protocol. |
AtomPub sample (Windows 8) |
This sample demonstrates how to access, create, update, and remove syndicated content feeds from the web. It uses the Windows Runtime implementation of the Atom Publication standard. |
Certificate enrollment sample (Windows 8) |
This sample demonstrates how to create and enroll a certificate in a certification hierarchy. To obtain an evaluation copy of Windows 8, go to Windows 8. To obtain an evaluation copy of Microsoft Visual Studio 2012, go to Visual Studio 2012. |
Clipboard app sample (Windows 8) |
This sample demonstrates how an app can use clipboard commands, including copy, paste, cut, and move. This sample uses classes from the Windows.ApplicationModel.DataTransfer namespace. |
Direct2D composite effect modes sample (Windows 8) |
This sample shows the wide range of composite and blend modes available from Direct2D. |
Direct3D bump mapping sample (Windows 8) |
This sample demonstrates bump mapping using a normal map and per-pixel lighting. |
Calendar details and math sample (Windows 8) |
This sample demonstrates how to use the Calendar class in the Windows.Globalization namespace to manipulate and process dates based on a calendar system and the user's globalization preferences. |
Device enumeration sample (Windows 8) |
This sample shows how to use the Device Enumeration API to find available devices and look for device information. The sample presents two scenarios: In the first scenario, the Device Enumeration API is used to look for specific device interfaces. |
DirectWrite paragraph text sample (Windows 8) |
This sample shows how to use DirectWrite and Direct2D to render paragraph text to a CoreWindow . And, apply justification and character spacing to the layout. |
Responding to the appearance of the on-screen keyboard sample (Windows 8) |
[This documentation is preliminary and is subject to change.] This sample shows how to listen for and respond to the appearance of the onscreen soft keyboard. When focus is given to an element that requires text input on a device that doesn't have a keyboard. |
XAML data binding sample (Windows 8) |
This sample demonstrates basic data binding techniques using the Binding class and Binding markup extension. |
Direct3D tutorial sample (Windows 8) |
This sample is a five-lesson tutorial. It provides an introduction to the Direct3D API, and introduces the concepts and code used in many of the other DirectX samples. |
Direct2D effects photo adjustment app sample (Windows 8) |
This sample shows various common photo manipulation techniques using Direct2D Effects. This sample is divided into several parts. Lesson 1: Shows the basics of loading and drawing an image using Direct2D Effects. |
Windows Audio Session (WASAPI) sample (Windows 8) |
Demonstrates how to do various audio related tasks using the Windows Audio Session API (WASAPI). |
User domain name sample (Windows 8) |
This sample demonstrates the domain-related functionality provided by the UserInformation class of the Windows.System.UserProfile namespace. The UserInformation class enables an app to get and set information about the user. |
USSD message management sample (Windows 8) |
This sample demonstrates network account management using the USSD protocol with GSM-capable mobile broadband devices. USSD is typically used for account management of a mobile broadband profile by the Mobile Network Operator (MNO). |
Bing Maps Trip Optimizer sample (Windows 8) |
The sample demonstrates how to use JavaScript and Visual C++ and to create app for Windows 8 named Bing Maps Trip Optimizer. Bing Maps Trip Optimizer uses JavaScript to define the UI, and C++ for a computationally expensive algorithm in parallel. |
Direct2D and DirectWrite animated text on a path sample (Windows 8) |
This sample shows how to use Direct2D and DirectWrite to render a string of text along an animated, non-linear geometric path. The app renders "Hello, World!" repeated several times in different languages along a Bezier curve. |
Wi-Fi hotspot authentication sample (Windows 8) |
This sample demonstrates how to use the Windows 8 Mobile Broadband API (Windows.Networking.NetworkOperators ) for Wi-Fi hotspot authentication. Use this mechanism as an alternative to configuring static credentials for a Wi-Fi hotspot. |
XAML images sample (Windows 8) |
This sample demonstrates various techniques for displaying and manipulating images in your app using the Image control and the BitmapImage class. |
HomeGroup app sample (Windows 8) |
This sample demonstrates how to use a HomeGroup to open, search, and share files. This sample uses some of the HomeGroup options found in the Windows.Storage.Pickers and Windows.Storage.KnownFolders . |
UI contrast and settings sample (Windows 8) |
This sample shows how to use the UI settings APIs in a basic C# or JavaScript app. |
Folder enumeration sample (Windows 8) |
This sample shows how to list the top-level files and folders inside a location. (For example, a folder, device, or network location.) And, how to use queries to list all files inside a location by sorting them into file groups. |
File picker sample (Windows 8) |
This sample shows how to access files and folders by letting the user choose them through the file pickers. And, how to save a file so that the user can specify the name, file type, and location of a file to save. |
File picker contracts sample (Windows 8) |
This sample shows how an app can provide files, a save location, and real-time file updates to other apps through the file picker. It's done by participating in the File Open Picker contract, File Save Picker contract, and Cached File Updater contract. |
Programmatic file search sample (Windows 8) |
This sample shows how to query files in locations such as a folder, library, device, or network location. It uses Windows.Storage.Search API. Important APIs in this sample include: QueryOptions class, StorageFileQueryResult class, and others. |
File and folder thumbnail sample (Windows 8) |
This sample shows how to retrieve thumbnails for files and folders. It uses Windows.Storage.FileProperties API. |
Input Manipulations and gestures (C++) sample (Windows 8) |
This sample demonstrates how to handle pointer input and process manipulations and gestures with the GestureRecognizer APIs in a Windows Store app using C++ and DirectX. |
Direct3D HLSL fractal generator sample (Windows 8) |
This sample demonstrates the use of Direct3D HLSL and DirectCompute compute shaders to create fractal images. |
XAML Direct2D lighting effects sample (Windows 8) |
This sample demonstrates the lighting effects available in Direct2D Effects. The lighting effect properties are controlled by XAML interface controls and then displayed using Direct2D via a XAML SwapChainBackgroundPanel. |
Direct2Dapp printing sample (Windows 8) |
This sample demonstrates how to add Direct2D printing support to a Windows Store app. This sample shows how to use Direct2D features to render the content of a Windows Store app for printing. And, how to send the rendered content to the printer. |
Direct2D printing images and effects sample (Windows 8) |
This sample demonstrates how to print Direct2D images and Direct2D effects in a Windows Store app. |
Direct2D animated text sample (Windows 8) |
This sample shows how to render text quickly by using the Direct2D FillOpacityMask method. The sample also responds to touch. A two finger pinch can be used to zoom the text in and out. |
Direct3D post-processing effects sample (Windows 8) |
This sample demonstrates Direct3D 11.1 post-processing on a simple rotating cube scene, using down-scaled intermediate buffers. |
Extended Linguistic Services (ELS) sample (Windows 8) |
This sample demonstrates the use of Extended Linguistic Services (ELS) in a Windows Store app. The sample implements scenarios that demonstrate the use of the three available ELS services. The scenarios demonstrate how to request a specific service. |
DirectWrite hit testing sample (Windows 8) |
This sample shows how to use the hit-testing features of DirectWrite. They're used to determine which part of the displayed text is being clicked or touched. |
DirectWrite inline object sample (Windows 8) |
This sample shows how to insert an inline object into a text layout, such as an image. |
XAML vector-based drawing sample (Windows 8) |
This sample demonstrates how to draw vector-based graphics in your app. |
Bluetooth call control sample (Windows 8) |
The Bluetooth CallControl sample demonstrates how to configure the default Bluetooth communications device for handling calls. There are JavaScript, C#, C++, and VB.Net versions of this sample. This sample requires knowledge of Windows events and event handling. |
Direct2D command list sample (Windows 8) |
This sample demonstrates the use of a command list. It's used for recording a set of vector commands, creating an image brush from the command list, and then filling a rectangle geometry with it. The command list preserves resolution independence of the vector. |
ControlChannelTrigger XMLHTTPRequest sample (Windows 8) |
The sample shows how to use the ControlChannelTrigger class to enable a Windows Store app using IXMLHTTPRequest2 to be always connected and always reachable. This sample demonstrates the use of background network notifications in a Windows Store app. |
XInput and JavaScript controller sketch sample (Windows 8) |
This sample demonstrates how to wrap the XInput C++ API in a Windows Runtime component. Then, it calls it from a Windows Store app using JavaScript. This sample implements a sketch app that lets you use the Xbox game controller to select line thickness and more. |
Direct2D convolve matrix effect sample (Windows 8) |
This sample demonstrates the Direct2D Effects convolve matrix effect. This sample has some example convolution kernel matrices: Passthrough (no-op), Box blur (width 5), Simple edge detect, Simple sharpen, Emboss, Vertical smear (height 10) theses and more. |
DirectX swap chain implementation sample (Windows 8) |
This sample shows how to receive CoreWindow events in a native application, and how to connect a DirectX swap chain to the application view. |
Credential picker sample (Windows 8) |
This sample shows how to use the Windows.Security.Credentials.UI.CredentialPicker class to retrieve credentials. These credentials may be passed to APIs that require them, for example, HttpClient . |
Direct2D animation sample (Windows 8) |
This sample shows how to use Direct2D to render and animate a Direct2D primitive along a spiral path. |
Sharing content target app sample (Windows 8) |
This sample demonstrates how an app can receive content shared from another app. This sample uses classes from the Windows.ApplicationModel.DataTransfer and Windows.ApplicationModel.DataTransfer.Share namespaces. |
Direct2D save to image file sample (Windows 8) |
This sample shows how to render to the screen using Direct2D and DirectWrite. And, how to save the rendered image to disk using the WIC API. |
Scaling according to DPI sample (Windows 8) |
This sample describes how to build an app that scales according to the pixel density of the screen. It loads images of the right scale or overrides default scaling. This sample uses the Windows.Graphics.Display API. |
Creating a Windows Runtime in-process component sample (C#) (Windows 8) |
This sample shows how to create a component in C# that's used in C++/CX, JavaScript, and C# client code. The OvenServer project contains a runtime class named Oven , which implements an IOven interface and an IAppliance interface. |
Push and periodic notifications client-side sample (Windows 8) |
This sample shows how a client app can register and listen for push notifications sent from a web server. Push notifications can be used to update a badge or a tile, raise a toast notification, or launch a background task. |
Portable device API sample (Windows 8) |
This sample shows how to access the IPortableDevice COM API from a C++ app. To learn how to access the IPortableDevice COM API from a Desktop C++ app, refer to the Portable Devices COM API Sample. |
PlayToReceiver sample (Windows 8) |
This sample demonstrates how to create a software Play To receiver. To advertise the software Play To Receiver, click the Start Receiver button. To stop the receiver, click the Stop Receiver button. |
Lock screen personalization sample (Windows 8) |
This sample demonstrates how to use the LockScreen API to set the current user's lock screen image. This sample uses classes from the Windows.System.UserProfile namespace. |
Credential locker sample (Windows 8) |
This sample demonstrates how to use the WinRT PasswordVault APIs, and how to use the credential locker to store web credentials. Specific scenarios include a single user with a single resource, and multiple users with a single resource. |
Media engine native C++ video playback sample (Windows 8) |
This sample demonstrates video playback using the MediaEngine API in a native C++ app. |
Media extensions sample (Windows 8) |
This sample demonstrates how to use media extensions. You can apply effects to video, decode video, and create media streams using scheme handlers. |
Lock screen apps sample (Windows 8) |
This sample shows how an app can have a presence on the lock screen—the screen that is shown when the computer is locked—with a badge to provide basic status information or a tile to provide more detailed status. |
XAML text display sample (Windows 8) |
This sample demonstrates how control the appearance of text in your app. |
SimpleOrientationSensor sample (Windows 8) |
This sample shows how to use the Windows.Devices.Sensors.SimpleOrientationSensor API. |
Direct3D sprite sample (Windows 8) |
This sample provides a Direct3D implementation of sprite batch behaviors, similar to the XNA SpriteBatch API. Sprites are 2-D bitmaps that can be transformed and managed independently in a 3-D scene, typically used in 2-D games. |
Direct3D stereoscopic 3D sample (Windows 8) |
This sample demonstrates how to add a stereoscopic 3-D effect to C++ apps by using Direct3D. It also demonstrates how to respond to system stereo changes in Direct3D. The stereoscopic 3-D effect requires a display that supports stereo 3-D. |
Creating a Windows Runtime DLL component with C++ sample (Windows 8) |
This sample shows how to create an in-process DLL component in Microsoft Visual C++. It's used in C++/CX, JavaScript, and C# client code. The OvenServer project contains a runtime class named Oven , which implements an IOven interface. |
Creating a Windows Runtime EXE component with C++ sample (Windows 8) |
This sample shows how to create an out-of-process EXE component in Microsoft Visual C++. It's used in C++/CX, JavaScript, and C# client code. The OvenServer project contains a runtime class named Oven , which implements an IOven interface. |