上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页

2012年9月20日

打开一个网页 metro app

摘要: await Windows.System.Launcher.LaunchUriAsync(new Uri(((HyperlinkButton)sender).Tag.ToString())); 阅读全文

posted @ 2012-09-20 11:30 GIS-MAN 阅读(210) 评论(0) 推荐(0) 编辑

关于主题动画.主题过度

摘要: http://www.cnblogs.com/trigged/archive/2012/03/31/2427508.html http://msdn.microsoft.com/zh-cn/library/windows/apps/xaml/br243232.aspx 给gridview 里面的每个子项 添加 从右边进入的动画 <GridView.ItemTemplate> <DataTempl... 阅读全文

posted @ 2012-09-20 10:42 GIS-MAN 阅读(214) 评论(0) 推荐(0) 编辑

metro app 进行缓存,

摘要: 一些页面每次请求服务端的数据都是一样的,这样就可以请求一次,然后把数据缓存起来 在OnNavigatedFrom 添加如下的语句 由于不能对一个集合对象进行缓存,下面介绍如何缓存一个几个集合对象,以 ObservableCollection<Advertisement>,为例 要想缓存这个集合, 需要对Advertisement,每个属性 创建一个 Windows.Storage.Applica... 阅读全文

posted @ 2012-09-20 09:36 GIS-MAN 阅读(429) 评论(0) 推荐(1) 编辑

2012年9月19日

metro app 里面那几个合约 ,请求

摘要: search合约using Windows.ApplicationModel.DataTransfer;SearchPane.GetForCurrentView().SuggestionsRequested += OnSuggestionsRequested;//当点击右边的search 按钮是触发void OnSuggestionsRequested(SearchPane sender, SearchPaneSuggestionsRequestedEventArgs args){ string query = args.QueryText.ToLower();string[] terms = 阅读全文

posted @ 2012-09-19 10:35 GIS-MAN 阅读(554) 评论(0) 推荐(0) 编辑

2012年9月18日

metro 拖动元素 元素

摘要: public sealed partial class MainPage : Page { // Global Transform used to change the position of the Rectangle. private TranslateTransform dragTranslation; // Constructor public MainPage() { InitializeComponent(); // Add handler for the Ma... 阅读全文

posted @ 2012-09-18 14:24 GIS-MAN 阅读(316) 评论(0) 推荐(0) 编辑

WPF异步载入图片,附带载入中动画

摘要: http://www.cnblogs.com/Soar1991/archive/2012/09/16/WebImageList.html 阅读全文

posted @ 2012-09-18 09:52 GIS-MAN 阅读(156) 评论(0) 推荐(0) 编辑

Windows 8 Metro 应用开发入门(三):工具栏和对话框

摘要: http://www.cnblogs.com/solan/archive/2012/09/18/Win8Metro03.htmlWindows 8 Metro 应用开发入门(三):工具栏和对话框摘 要Metro UI与Windows Phone一样在提供了布局在屏幕下文的应用程序工具栏BottomAppBar,由于平板设备特有的应用,Metro UI还提供了布局在屏幕上方的导航栏TopAppBar。另外,Metro UI还提供了独特的对话框。这一章我们来介绍一下工具栏与导航栏的应用,最后再介绍一下弹出对话框。第1节 BottomAppBar应用程序工具栏BottomAppBar默认是隐藏在屏幕 阅读全文

posted @ 2012-09-18 09:40 GIS-MAN 阅读(242) 评论(0) 推荐(0) 编辑

Windows 8 Metro 应用开发入门(二):Metro App的几个新控件

摘要: http://www.cnblogs.com/solan/archive/2012/09/17/Win8Metro02.html基于Silverlight开发Metro App可以使用Silverlight原生的控件,为了更好的开发Metro App,控件库又专门增加了几个新的控件,如:GridView、Flipview、ProgressRing、SemanticZoom和VariableSizedWrapGrid等,这些控件为平板设备提供了良好的触控体验,这一章我们来介绍一下这几个控件的简单用法。第1节 GridViewGridView是以网格样式展现一组数据,在Web开发中就已经存在,主要 阅读全文

posted @ 2012-09-18 09:35 GIS-MAN 阅读(320) 评论(0) 推荐(0) 编辑

2012年9月17日

metro 下载xml文件

摘要: public class downClass1 { public IStorageFile pResultStorageFile; public async Task<IStorageFile> down() { string CountriesFile = "fruit.xml"; StorageFolder InstallationFolder = Windows.ApplicationModel.Package.Current.InstalledLocation; Storage... 阅读全文

posted @ 2012-09-17 17:41 GIS-MAN 阅读(217) 评论(0) 推荐(0) 编辑

图片360 度旋转

摘要: <Image x:Name="image" HorizontalAlignment="Left" Height="166" PointerEntered="image_PointerEntered_1" PointerExited="image_PointerExited_1" Margin="449,349,0,0" VerticalAlignment="Top" Width="261" Source="http:// 阅读全文

posted @ 2012-09-17 11:58 GIS-MAN 阅读(287) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页

导航