会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
androllen
不要让现实侵蚀了你的善良
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
下一页
2013年6月19日
wp8 --退出程序
摘要: 重写OnBackKeyPress事件,设置 e.cancel=true;然后加弹窗代码,为确定按钮订阅事件委托,委托方法里加Application.Current.Terminate();退出方法即可
阅读全文
posted @ 2013-06-19 14:16 androllen
阅读(361)
评论(0)
推荐(0)
2013年6月8日
修改toolkit:PhoneTextBox --wp8
摘要: <phone:PhoneApplicationPage.Resources> <Style x:Key="PhoneTextBoxStyle1" TargetType="toolkit:PhoneTextBox"> <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/> <Setter Property="FontSize" Value="{S
阅读全文
posted @ 2013-06-08 09:58 androllen
阅读(384)
评论(0)
推荐(0)
2013年5月30日
wp7 --缓动动画
摘要: <Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <!--TitlePanel 包含应用程序的名称和页标题--> <StackPanel x:Name="TitlePan
阅读全文
posted @ 2013-05-30 16:02 androllen
阅读(157)
评论(0)
推荐(0)
wp7--videoBrush
摘要: <MediaElement x:Name="butterflyMediaElement" Source="sampleMedia/Butterfly.wmv" IsMuted="True" Opacity="0.0" IsHitTestVisible="False" /> <TextBlock Canvas.Left="5" Canvas.Top="30" FontFamily="Verdana" FontSize=&
阅读全文
posted @ 2013-05-30 11:09 androllen
阅读(160)
评论(0)
推荐(0)
wp7--DataTemplates
摘要: <UserControl x:Class="DataTemplates.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> <Grid x:Name="LayoutRoot" Background="
阅读全文
posted @ 2013-05-30 11:05 androllen
阅读(192)
评论(0)
推荐(0)
wp7 --绑定
摘要: <Grid> <TextBlock Text="{Binding Source}" /> </Grid> public partial class Page : UserControl { public Page() { InitializeComponent(); this.DataContext = App.Current.Host; } }<StackPanel BindingValidationError="StackPanel_BindingValidationError" > <S...
阅读全文
posted @ 2013-05-30 10:59 androllen
阅读(163)
评论(0)
推荐(0)
wp7 -- Style
摘要: <Application.Resources> <Style x:Key="textBlockStyle" TargetType="TextBlock"> <Setter Property="Foreground" Value="Red" /> </Style> </Application.Resources> <StackPanel> <TextBlock Style="{StaticResource textBlockSty
阅读全文
posted @ 2013-05-30 10:58 androllen
阅读(129)
评论(0)
推荐(0)
2013年5月24日
wp7 --PanoramaPivotControls
摘要: <Grid x:Name="LayoutRoot"> <controls:Panorama HorizontalAlignment="Left" VerticalAlignment="Top"> <controls:Panorama.Background> <ImageBrush ImageSource="/PanoramaPivotControls;component/qq_black.png" /> </controls:Panorama.Backgroun
阅读全文
posted @ 2013-05-24 09:17 androllen
阅读(191)
评论(0)
推荐(0)
2013年5月22日
wp7 --后台创建DateTelplate模板
摘要: private DataTemplate GetTemplate(string msg) { string xamlString = @"<DataTemplate xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"" xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml""> <TextBlock Text=""" ..
阅读全文
posted @ 2013-05-22 18:21 androllen
阅读(240)
评论(0)
推荐(0)
2013年5月15日
wp7 --弹出动画
摘要: <phone:PhoneApplicationPage.Resources> <Storyboard x:Name="Storyboard1"> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="image"> <EasingDoubleKeyFrame KeyT
阅读全文
posted @ 2013-05-15 21:10 androllen
阅读(176)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
下一页
公告