Loading

摘要: <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 阅读(144) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(170) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(142) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(117) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(218) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(164) 评论(0) 推荐(0) 编辑
摘要: <phone:PhoneApplicationPage.Resources> <Storyboard x:Name="Storyboard1"> <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image4"> <DiscreteObjectKeyFrame KeyTime="0"> <Discrete 阅读全文
posted @ 2013-05-15 21:09 androllen 阅读(175) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/zh-cn/library/kx3852wf(v=vs.80).aspx如何:在独立存储中删除文件和目录using System;using System.IO.IsolatedStorage;using System.IO;public class DeletingFilesDirectories{ public static void Main(){ // Get a new isolated store for this user domain and assembly. // Put the store int... 阅读全文
posted @ 2013-05-14 00:52 androllen 阅读(161) 评论(0) 推荐(0) 编辑
摘要: public class WebPair { public WebPair(string name, string value) { Name = name; Value = value; } public string Value { get; set; } public string Name { get; private set; } } public class WebParameter : WebPair { public WebP... 阅读全文
posted @ 2013-04-17 14:53 androllen 阅读(157) 评论(0) 推荐(0) 编辑