Showing posts with label Pivot Control. Show all posts
Showing posts with label Pivot Control. Show all posts

Friday, March 02, 2018

Pivot control to navigate pages in a Universal Windows Platform app

Pivot control with its tabs helps you in navigating between items which can be content panes. Each item has a header to provide the text for the tab. The Pivot has a title and is the container of PivotItems.

The following 3 images show the navigation between three items.

In this app, the Pivot title is: Navigating with Pivot. The first PivotItem header is 'Home', the second PivotItem's header reads 'English' and the third PivotItem's header is 'Spanish'.

I have some text in English in the PivotItem with header 'English' and similarly a translation of the English text to Spanish in the PivotItem for Spanish. You can go from one page to the other easily. The images are from a deployment to a Lumia 950 phone.

Home is the first PivotItem in the app:

 Now navigated to English

Now navigated to the 'Spanish'


Now the code is very simple and uses only XAML statements

Here is the MainPage.xaml:

Note: Although this page does not throw an error. It builds, deploys and runs without an error but the Hyperlink in the first PivotItem is not active, although showing up as a hyperlink (underline and all!).
I am checking on this one. It is interesting to note that Hyperlink is not a control in the XAML tool set.

Sunday, April 20, 2014

Project types using the Microsoft Visual Studio Express 2013 for Windows

Microsoft Visual Studio Express 2013 for Windows Update 2 RC was installed on a Windows 8.1 Laptop computer. In addition to the Windows program Microsoft Visual Studio Express 2013 for Web and Blend for Visual Studio 2013 (This will be installed if you are to run just the Update 2 RC) were also installed on the computer. With Blend you can develop HTML and XAML Store Apps.

Here is a screen shot of the details of Microsoft Visual Studio Express 2013 for Windows Update 2 RC.


Using this interface you can create a variety of project types using the templates as shown in the next image.


On line resources provide lot more samples.

Except Visual Basic the other project types (JavaScript, C# and C++) allows you to create Universal Apps which is a single page universal app for Windows and Windows Phone that uses the Windows Runtime and has no predefined controls or layout.


If you are only developing Store Apps with JavaScript then you have the following options:

1. Universal Apps
  •    Blank Universal App - single page Windows & Windows Phone APP
  •    Hub/Pivot Universal App - three page app that uses a Hub control for Windows and Pivot control for Windows Phone
  •    Navigation Universal App - Windows and windows Phone app that has predefined navigation  controls
2. Windows Apps
  •    Blank App - single-page app
  •    Grid App  - three-page app
  •    Split App - two-page app for master detail
  •    Hub App   - three-page app using a Hub Control
  •    Navigation App -An app with predefined navigation controls
3. Windows Phone Apps
  •    Blank App - single page app with no predefined controls/layout
  •    Pivot App - an app that uses a Pivot control
  •    Navigation app - An app with predefined navigation controls
DMCA.com Protection Status