随笔分类 -  WP

uwp获取版本信息win10 VersionInfo
摘要:using Windows.System.Profile; Después vamos a agregar una propiedad que va a contener un mensaje con el nombre de la familia a la que pertenece el di... 阅读全文

posted @ 2015-11-13 09:20 GIS-MAN 阅读(522) 评论(0) 推荐(0)

uwp ,win10 post json
摘要:public static async Task PostHttpstringrequest(string requesturl,string jsonstr) { var myClient = new HttpClient(); var ... 阅读全文

posted @ 2015-11-11 16:29 GIS-MAN 阅读(690) 评论(0) 推荐(1)

InputScope枚举
摘要: 阅读全文

posted @ 2012-06-14 15:18 GIS-MAN 阅读(166) 评论(0) 推荐(0)

Windows Phone 7 页面旋转动画
摘要:<phone:PhoneApplicationPage.Projection> <PlaneProjection x:Name="planeProjection" CenterOfRotationX="0" /> </phone:PhoneApplicationPage.Projection> <phone:PhoneA... 阅读全文

posted @ 2012-06-08 10:39 GIS-MAN 阅读(1282) 评论(0) 推荐(0)

wp 的手势Gestures: flick, pan, and stretch
摘要:http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/gestures-flick-pan-and-stretch.aspx 原文 阅读全文

posted @ 2012-06-07 09:45 GIS-MAN 阅读(534) 评论(0) 推荐(0)

wp toolkit 之 HubTile
摘要:<toolkit:HubTile GroupTag="QuickLink" Notification="{Binding Notification}" Message="{Binding Message}" Title="{Binding Title}" Source="{Binding Src}" Background="{StaticResource PhoneAccentBrush}"/... 阅读全文

posted @ 2012-06-06 10:43 GIS-MAN 阅读(258) 评论(0) 推荐(0)

页面导航 页面内容的保存,
摘要:在页面导航中, ,通过后退按钮,不会new 一个page对象,通过后退按钮页面的内容不会有丢失 ,但是通过 private void button1_Click(object sender, RoutedEventArgs e) { this.NavigationService.Navigate(new System.Uri("/MainPage... 阅读全文

posted @ 2012-06-05 10:46 GIS-MAN 阅读(288) 评论(0) 推荐(0)

wp toolkit 之ContextMenu
摘要:<Grid Width="419" Height="86"> <toolkit:ContextMenuService.ContextMenu> <toolkit:ContextMenu Background="#FF494D49" Height="80"> <TextBlo... 阅读全文

posted @ 2012-06-04 14:42 GIS-MAN 阅读(288) 评论(0) 推荐(0)

button 样式
摘要:<Button Height="60" Width="183" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0" Foreground="{x:Null}" Margin="356,266,-70,0"> <Grid> <Image Source="LgBtn.png" Grid.Row="0" />. 阅读全文

posted @ 2012-05-30 11:30 GIS-MAN 阅读(161) 评论(0) 推荐(0)

ellipse
摘要:<Ellipse Fill="Blue" Stroke="Red" StrokeThickness="50" /> <Ellipse Width="300" Height="300"> 166 <Ellipse.Fill> <RadialGradientBrush Center="0.4 0.4" GradientOrigin="0.4 0.4"> <G... 阅读全文

posted @ 2012-05-29 17:31 GIS-MAN 阅读(329) 评论(0) 推荐(0)

读书笔记 之 image
摘要:<Image Source="Images/BuzzAldrinOnTheMoon.png"> <Image.OpacityMask> <RadialGradientBrush> <GradientStop Offset="0" Color="White" /> <GradientStop Offset="0.8" Color="White" /> <Gradie... 阅读全文

posted @ 2012-05-29 16:39 GIS-MAN 阅读(230) 评论(0) 推荐(0)

读书笔记之 programming wp7 之textblock
摘要:<TextBlock FontSize="36"TextWrapping="Wrap">This issome <Run FontWeight="Bold">bold</Run> text andsome <Run FontStyle="Italic">italic</Run> text andsome <Run Foreground="Red">red</Run> text andsome <Run Te 阅读全文

posted @ 2012-05-29 15:51 GIS-MAN 阅读(175) 评论(0) 推荐(0)

wp 托盘控制
摘要:shell:SystemTray.IsVisible="True" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" 阅读全文

posted @ 2012-05-28 17:11 GIS-MAN 阅读(194) 评论(0) 推荐(0)

PhoneApplicationPage 之观察 触摸事件
摘要:在PhoneApplicationPage上点击触摸任意位置 或者其子控件 都会触发OnManipulationStarted这个事件 ,可以通过重写这个事件来改变触发的响应,OnManipulationStarted这个事件的参数args 可以获得 触发的原始控件namespace SilverlightTapHello2{ public partial class MainPage : PhoneApplicationPage { Random rand = new Random(); Brush originalBrush; public MainPage() { InitializeC 阅读全文

posted @ 2012-05-28 17:03 GIS-MAN 阅读(208) 评论(0) 推荐(0)

Windows Phone 7 触摸编程-单点触摸利用Touch.FrameReported事件
摘要:http://www.cnblogs.com/linzheng/archive/2011/01/29/1947585.html 阅读全文

posted @ 2012-05-28 16:40 GIS-MAN 阅读(166) 评论(0) 推荐(0)

手机wp的 触摸事件和 mouse 事件
摘要:<TextBlock Text="Hello, Windows Phone 7!" MouseLeftButtonDown="TextBlock_MouseLeftButtonDown" Padding="0 22" HorizontalAlignment="Center" VerticalAlignment="Center" ManipulationStarted="OnTextBlockManipulationStarted" />void OnTextBlo 阅读全文

posted @ 2012-05-28 16:36 GIS-MAN 阅读(559) 评论(0) 推荐(0)

PhoneApplicationPage 之观察
摘要:PhoneApplicationPage 的属性 Landscape" Orientation="Portrait"在landscape 和portrait 之间变化的时候 会触发内部控件的大小的改变 触发SizeChanged事件 private void ContentPanel_SizeChanged(object sender, SizeChangedEventArgs e) { txtblk.Text = String.Format("ContentPanel size: {0}\n" + "TitlePanel size: 阅读全文

posted @ 2012-05-28 15:53 GIS-MAN 阅读(217) 评论(3) 推荐(0)

让时间动起来 非原创
摘要:public MainPage() { InitializeComponent(); DispatcherTimer tmr = new DispatcherTimer(); tmr.Interval = TimeSpan.FromSeconds(1); tmr.Tick += OnTimerTick; tmr.Start(); } void OnTimerTick(object sender, EventArgs args) { txtblk.Text = DateTime.Now.ToString(); } 阅读全文

posted @ 2012-05-28 15:40 GIS-MAN 阅读(196) 评论(0) 推荐(0)

导航