Professional Documents
Culture Documents
More controls
Agenda
Panorama control Pivot control Map control Media element control Progress bar controls Application bar Silverlight Toolkit, Coding4fun Q&A
Panorama control
Panorama control allows sliding through a horizontal page with different contents and blocks. Panorama control allows sliding through a big content without having to completely hide the previous contents. Panorama control is used to browse back and forth the page items with in the specified content block to get rich user experience. We will be having only one Panorama control per page. Panorama control is a container for PanoramaItems which contain content and controls such as lists, buttons, images etc.
Panorama control
Each PanoramaItem has:
Header - this is the ContentControl that is used to display and animate the header.(Header is optional) Content - this is the ContentPresenter that displays the PanoramaItem content. Orientation property - setting the orientation to Horizontal will allow the item to be of a larger size than the control. By default, this property is Vertical, which means that panning or flicking should bring you to the next panorama section.
The recommended dimensions for a Panorama background image is a height of 800 pixels and a width less than 2000 pixels.
Panorama control
Panorama control is layered in to 4 layers:
Background the base layer, the background of the panorama control. Title the top layer used to display the title of the page. Header this layer is used to display the Panorama Item block title. Content this layer will be used to show the Panorama Item content.
Panorama control
If a Panorama control is using an image for the background, its Build Action should be set to Resource.
Otherwise, it will not appear immediately when the application is first displayed.
Setting the Build Action to Content would cause it to be loaded asynchronously. Key Property:
DefaultItem - sets the default item that moves into display. Allows your app to store the user's most recently used panorama item to return to it later.
Key Event:
SelectionChanged - This event occurs when the currently selected item changes
Pivot control
Pivot control allows presenting different slices (categories) of the same data.
In the Calendar on Windows Phone, you can flip between the agenda and day views. They present the same data, but in two completely different views.
Pivot control allows sliding back and forth and providing related datas in a much easier view using any of the available controls. We will be having only one Pivot control per page. Pivot control is the base control and inside contains a multiple Pivotitem controls where we can individual page content such as controls lists, buttons, images, etc. inside each page.
Pivot control
Each PivotItem has:
Content - The ContentPresenter control that displays the PivotItem content.
Key Events:
LoadedPivotItem - Event for indicating that an item has fully loaded LoadingPivotItem - Event for offering an opportunity to dynamically load or change the content of a pivot item before it is displayed SelectionChanged - This event occurs when the currently selected item changes UnloadedPivotItem - Event for notifying that the pivot item has been completely unloaded from the visual pivot. UnloadingPivotItem - Event for offering an opportunity to dynamically load, change or remove the content of a pivot item as it is removed.
Pivot control
Pivot Control is layered into 2 layers, with each layer contain a Grid inside as the layout root:
Pivot Headers this layer is for showing the header title. Pivot Items this layer is for showing single Pivotitem to show data.
Application bar
Application Bar is a set of icons that can be configured at the bottom of the application for each page or also we can configure it for multiple pages. Buttons can be used to navigate to frequently used pages across the application which enables users to navigate quickly and easily. Application bar has some set of options along with the buttons we can configure the menu items especially for some navigation which are not that much frequently used. Application bar automatically adjusts its icons and button as the screen orientation changes as and when.
Application bar
The text based menu items are displayed as a list rather from the icons been shown in the screen. The menu items as well as icons are by default be taken in lower case to have a consistent user experience.
Silverlight Toolkit
http://silverlight.codeplex.com Windows Phone Toolkit provide the developer community with new components, functionality, and an efficient way to help shape product development. Toolkit releases include open source code, samples & docs, plus design-time support for the Windows Phone platform.
Coding4fun tools
http://coding4fun.codeplex.com Controls and tools for WP Many others interesting projects: http://channel9.msdn.com/coding4fun
Coding4fun tools
Q&A
??