Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Phone
Change page: < 1 2 3 4 5 6 7 8 >  |  Displaying page 8 of 8, items 351 to 376 of 376.
The App Bar and Controls - Jot and Application Settings
Every time you open the program, you get the same text you left in there the last time you used the program. You can add text and delete text. It’s good for taking quick notes (as the program name suggests) because you don’t have to load or save any files.
The App Bar and Controls - ApplicationBar Icons
The ApplicationBar serves the same role as a menu or toolbar that you might find in a conventional Windows program. It also shares some visual and functional similarities with those older structures.
Issues in Application Architecture - Xna Tombstoning and Settings
XNA applications aren’t normally built around pages like Silverlight applications. If you wanted, however, you could certainly implement your own page-like structure within an XNA program.
Issues in Application Architecture - Isolated Storage
Every program installed on Windows Phone 7 has access to its own area of permanent disk storage referred to as isolated storage, which the program can access using classes in the System.IO.IsolatedStorage namespace
Issues in Application Architecture - Page State
The SilverlightFlawedTombstoning project is a simple Silverlight program with just one page. The program responds to taps on the screen by changing the background of ContentGrid to a random color, and displaying the total number of taps in its page title.
Issues in Application Architecture - Task Switching on the Phone
We want our phones to be much like our other computers. We want to have a lot of applications available. We want to start up a particular application as soon as we conceive a need for it.
Issues in Application Architecture - Retaining Data across Instances
Every time MainPage navigates to SecondPage, it’s a different instance of SecondPage. That’s why SecondPage always starts out the same. It’s always a new instance.
Issues in Application Architecture - Sharing Data Among Pages
Keep in mind that all the pages in your program have convenient access to the App class that derives from Application. The static Application.Current property returns the Application object associated with the program, and you can simply cast that to App
Issues in Application Architecture - Passing Data to Pages
The OnNavigatedTo method is defined by Page, the class from which PhoneApplicationPage derives. The method is called right after the page has been created.
Issues in Application Architecture - Basic Navigation
Navigation in a Silverlight program is based around XAML files in much the same way that navigation in a traditional Web environment is based around HTML files. The actual instance of the SecondPage class is created behind the scenes.
Sensors and Services - Using a Map Service
In a real phone application, you’d probably be using Bing Maps, particularly considering the existence of a Bing Maps Silverlight Control tailored for the phone.
Sensors and Services - Geographic Location
With the user’s permission, a Windows Phone 7 program can obtain the geographic location of the phone using a technique called Assisted-GPS or A-GPS.
Sensors and Services : A Simple Bubble Level
One handy tool found in any workshop is a bubble level, also called a spirit level. A little bubble always floats to the top of a liquid, so it visually indicates whether something is parallel or orthogonal to the earth, or tilted in some way.
Sensors and Services : Accelerometer
Windows Phones contain an accelerometer—a small hardware device that essentially measures force, which elementary physics tells us is proportional to acceleration.
Programming Windows Phone 7 : The Intricacies of Layout - The Mighty Grid
The Grid is somewhat reminiscent of an HTML table, but with several differences: Unlike the HTML table, the Grid doesn’t do formatting.
Programming Windows Phone 7 : The Intricacies of Layout - The Canvas and Touch
The OnManipulationDelta override moves one of the ellipses by obtaining its Left and Top settings, adding the delta translation factors, and then setting them back, all in fairly short and clean statements.
Programming Windows Phone 7 : The Intricacies of Layout - The Retro Canvas
The Canvas is certainly the most old-fashioned sort of panel. To position elements within the Canvas you supply horizontal and vertical coordinates relative to the top-left corner.
Programming Windows Phone 7 : The Intricacies of Layout - A Custom Vertical StackPanel
As in the SingleCellGrid version of MeasureOverride, the Width property of the local compositeSize variable is based on the maximum child width.
Programming Windows Phone 7 : The Intricacies of Layout - A Single-Cell Grid Clone
The first job is to call Measure on all its children. This is essential; otherwise, the children will have no size and will not appear on the screen.
Programming Windows Phone 7 : The Intricacies of Layout - The Mechanism of Layout
In a sense, this behavior shouldn’t be surprising: If the ScrollViewer has a horizontal scrollbar, it must exist for some purpose, and it has no purpose if the words of each TextBlock wrap into paragraphs.
Programming Windows Phone 7 : The Intricacies of Layout - Two ScrollViewer Applications
By default, the vertical scrollbar is visible and the horizontal scrollbar is hidden, but you can change that with the VerticalScrollBarVisibility and HorizontalScrollBarVisibility properties.
Programming Windows Phone 7 : The Intricacies of Layout - Visibility and Layout
The value of Collapsed causes the element to have a zero size, and it effectively no longer participates in layout.
Programming Windows Phone 7 : The Intricacies of Layout - Nested Panels
This is not the best way to make a table! It only seems to work reasonably well because the TextBlock elements are all of equal height.
Programming Windows Phone 7 : The Intricacies of Layout - Text Concatenation with StackPanel
It might seem rather silly to concatenate text in this way, but it’s actually a very useful technique. Sometimes a program has some fixed text defined in XAML, mixed with some variable text from code or a data binding.
Programming Windows Phone 7 : The Intricacies of Layout - The StackPanel Stack
Changing the orientation of the phone provides the Image with a greater width that it matches with a height that preserves the aspect ratio of the bitmap, but in doing so pushes most of the bitmap off the screen
Programming Windows Phone 7 : The Intricacies of Layout - The Single-Cell Grid
The Image element displays the bitmap in the maximum size allowed by the dimensions of the Grid but maintaining the proper aspect rate.
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server