Page Navigation
This post allow you to understand that how to create a new page in Windows 8 application and how can
we navigate from one page to another in Microsoft Expression Blend, without using a single line of
code.
follow these steps.
Step 1:
Start Microsoft Expression Blend, zoom out your designer to 33% and create a button on your page
by defining layout, Common and text values.
(see images below)
Step 2: Create a New Page
a. Right click on project.b. Select "Add new Item".
c. Select Basic page from "New Item" window and name it something.
d. Click OK.
(see images below)
Step 3: Change Page Title
a. Select Page Title named "My Application" from designerb. In Property Window and in "Text" field click the green square, placed in its right side.
c. click Reset to change its value
d. Type your own page title and press Enter key.
e. Don't forget to build the project. by pressing Ctrl+Shift+B or by selecting Rebuild from
Project Menu.
f. Now select the MainPage.xaml from project tab.
Step 4: Page Navigation
a. Select Assets from toolboxb. Search or type "EventTriggerBehavior" in search menu (Controls should be selected)
c. Drag and drop the "Eventtriggerbehavior" into button, placed in designer
d. In property window click on the radio button from source object click the same button
f. Again in properties tab Click the button "..." near "Actions (collection)"
g. Select "<Other Type>" from drop down menu placed in the bottom of the window.
h. Click on "NavigateToPageAction" and press OK.
i. Click the Add button then in target page Select new page you have recently added in
your project.
j. Now Run the Project by pressing ctrl+f5.

Create Your Badge


















0 comments:
Post a Comment