
Learn how to handle ManipulationDelta events in Windows Phone 7 to drag and scale UI elements using CompositeTransform, along with Border and render transform basics.

This article explores text and bitmaps in more depth, and also describes other common elements and some important properties you can apply to all these elements, including transforms.

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.

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.

Accelerometer and location service in Windows Phone 7 enable motion sensing and precise positioning for applications. Utilizing sensor APIs, developers access acceleration data and GPS information, facilitating map integration and location-aware functionalities.

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.

Bitmap is an object which is appear in both Silverlight and XNA applications but in XNA, a bitmap has a data type of Texture2D and hence is often referred to as a texture. Bitmaps are used to symbolize your application on the phone.

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.

Windows Phone 7 comes with a feature that is likely to be new and unusual. The screen on the phone is sensitive to touch. The multi-touch screen on a Windows Phone 7 device can detect at least four simultaneous fingers. It is the interaction of these fingers that makes multi-touch so challenging for programmers.

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.

Microsoft Windows Phone 7 not only represents a break with the Windows Mobile past but also differentiates itself from other smartphones currently in the market. Windows Phone 7 devices will be made by several manufacturers and available with a variety of cell providers.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article