Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

To give your fingers a target to touch and drag, the programs display translucent disks at the Texture2D corners. It would be nice to code these draggable translucent disks so they’re usable by multiple programs.

The primary means of user input to a Windows Phone 7 application is touch. A Windows Phone 7 device has a screen that supports at least four touch points, and applications must be written to accommodate touch in a way that feels natural and intuitive to the user and the XNA programmers have two basic approaches to obtaining touch input.

The most common way for an XNA program to obtain a Texture2D object is by loading it as program content.

In this article I’ll examine techniques for moving and turning sprites, particularly along curves.

The phone’s portrait form factor, the ease of multi-touch, and a recent emphasis on fluid user interfaces all suggest other types of layout. Two such alternatives are available in Windows Phone 7 in new controls named Pivot and Panorama.

Learn how to load XML student data into business objects and bind it to Windows Phone 7 ListBox controls using ObservableCollection, INotifyPropertyChanged, and DataTemplates.

This article discusses various ways to improve the performance of WP7 apps.

ItemsControl and its derivatives display collections of items. In addition, Selector and its derivatives implement properties and logic that allow the user to select one or more items from the collection.

The new Style can add to those Setter objects or override them. However, it is not possible to derive from a ControlTemplate. There’s no way to reference an existing ControlTemplate and specify an additional piece of the visual tree, or a replacement for part of the visual tree.

This article will demonstrate how to write templates by hand so you’ll be in a better position to understand Expression Blend output if you later decide to go that route.

Data bindings are most easily demonstrated using two visual elements such as a Slider and a TextBlock, and that’s where I’ll begin.

Assuming you need to get some information from your Windows Phone 7 Device, I will be showing you how to do it easily.

One of the most important classes in all of Silverlight is Panel-the class that plays a starring role in the Silverlight layout system. You might expect such a crucial class to define many properties and events.

In this article we will see a simple demo of how to install an application in Windows Phone 7.

Many classes that you use in XAML have something called a ContentProperty attribute. This word “attribute” has different meanings in .NET and XML; here I’m talking about the .NET attribute, which refers to some additional information that is associated with a class or a member of that class.

Silverlight program is generally a mix of code and XAML. Most often, you’ll use XAML for defining the layout of the visuals of your application, and you’ll use code for event handling, including all user-input events and all events generated by controls as a result of processing user-input events.

Windows Phone 7 manages multiple active applications by implementing a stack. In a sense, this application stack extends the page stack within a single Silverlight program. You can think of the phone as an old-fashioned web browser with no tab feature and no Forward button. But it does have a Back button and it also has a Start button, which brings you to the Start screen and allows you to launch a new program.

In this article I will be a showing you a nice hint for Orientation.

Page navigation would seem to be an advanced Silverlight programming topic, and a topic that applies only to Silverlight programming rather than XNA programming. However, there are issues involved with navigation that are related to the very important topic of tombstoning, which is what happens to your Windows Phone 7 application when the user navigates to another application through the phone’s Start screen.

In a Silverlight program, you’ve seen that a bitmap added to the project as a resource is bound into the executable. It’s so customary to reference that local bitmap directly from XAML, SilverlightTapToLoad project shows you how.

When you run the SilverlightHelloPhone program, and you turn the phone or emulator sideways, you'll discover that the display doesn't change to accommodate the new orientation, To fix that problem you have to make change in the root PhoneApplicationPage tag, of MainPage.xaml change the attribute.

The high-level touch interface in Silverlight involves three events: ManipulationStarted, ManipulationDelta, and ManipulationCompleted. These events don't bother with reporting the activity of individual fingers. Instead, they consolidate the activity of multiple fingers into translation and scaling operations.

This article will be all about building a Windows Phone 7 App using XNA 4.0.

In this mini article, I will show you how you can deploy your application without using Visual Studio 2010
Everything on Microsoft Phone, not only its articles: the Microsoft Phone page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article