This application, in fact, is not the application, is the first real attempt to write the program, the whole process in XAML, because before learning C # too quick, now C # has forgotten, nonsense not much to say, the following began to introduce;
The UI is as follows:
This application is actually through the hyperlinkbuttonl control to adjust some of the Microsoft Common Application of the Web version, the main control is grid, Hyerlinkbutton and flyout, therefore, this application basically does not have any practicality, the only role is to practice practiced hand. This application, there is a module for "not yet developed ...", click Setting will also pop up the following information, obviously the application is not complete
There is no way, the current capacity is limited, so. Because Bo Master is also just contact with WP development, almost nothing, deeply windowsphone development of the tutorial scarce. Bloggers also often in the MSDN and blog Park for tutorials, their own to find out this thing, and we share the exchange, hope to progress together. My Weibo account @ horse and Kang, interested friends can be mutual powder, exchange.
The code is as follows:
XAML code;
<Page x:class="App1.mainpage"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="Http://schemas.microsoft.com/winfx/2006/xaml"xmlns:local="Using:app1"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"XMLNS:MC="http://schemas.openxmlformats.org/markup-compatibility/2006"mc:ignorable="D"> <grid > <grid.background > <imagebrush imagesource="assets\blackground1.jpg"alignmenty="Bottom"alignmentx=" Left"/> </Grid.Background> <grid margin="0,150,0,200"> <Grid.RowDefinitions> <rowdefinition height="*"/> <rowdefinition height="*"/> </Grid.RowDefinitions> <grid.columndefinitions > <columndefiniti On width="*"/> <columndefinition width="*"/> </Grid.ColumnDefinitions> "Bing"Background="Red"grid.row="0"margin="0,0,0,0"Width=" the"height=" the"Navigateuri="http://cn.bing.com/"/> "not yet in development ..."Fontsize=" -"Background="Red"grid.row="1"margin="0,0,0,0"Width=" the"height=" the"/> "APP Store"Background="Red"grid.column="1"margin="0,0,0,0"Width=" the"height=" the"Navigateuri="Http://www.windowsphone.com/zh-cn/store"/> <grid grid.row="1"grid.column="1"> <Grid.RowDefinitions> <rowdefinition height="*"/> <rowdefinition height="*"/> </Grid.RowDefinitions> <grid.columndefinitions > <co Lumndefinition width="*"/> <columndefinition width="*"/> </Grid.ColumnDefinitions> "OneDrive"Fontsize=" -"Background="Blue"grid.row="0"margin="0,0,0,0"Width=" the"height=" -"Navigateuri="https://skydrive.live.com/"/> "Hotmail"Fontsize=" -"Background="Green"grid.row="1"height=" -"margin="0,0,0,0"Width=" the"Navigateuri="http://www.hotmail.com"/> "Admin"Fontsize=" -"Background="Green"grid.column="1"height=" -"Width=" the"margin="0,0,0,0"Navigateuri="http://login.live.com/"/> <button content="setting"Fontsize=" -"grid.column="1"Background="Blue"grid.row="1"height=" -"Width=" -"margin="0,-3.5,0,-3"borderthickness="0"> <button.flyout > <flyout > <stack Panel margin="0,0,3,0"Manipulationmode="None"> <textblock text="This module is under development ....."Fontsize=" -"/> <textblock text="This section is under construction ....."Fontsize=" the"/> </StackPanel> </Flyout> </button . flyout> </Button> </Grid> </Grid> </Grid></Page>
As for the C # code, it is not available because this application is useless to C # code,
Windows Phone app development attempts