01 2013 档案
windows phone Image checkbox
摘要:<phone:PhoneApplicationPage.Resources> <Style x:Key="PhoneButtonBase" TargetType="ButtonBase"> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}&q
阅读全文
windows phone 8 ListBox 闪烁
摘要:ListBox在滑动的时候经常闪烁,为此做了很多实验性质的调整。当调整了一个Image的引用方式时,情况得到了好转。但是没有深入研究底层的细节,因此也不能盲目的断点是应为这个原因导致的问题。现把产生作用的调整分享如下:我有一个在页面中反复使用的Image Icon, 出于性能的考虑,我在App.xml中对其进行了预定义:<Application.Resources> <BitmapImage x:Key="shareIcon1" UriSource="/Assets/Icons/share1.png" /></Applica
阅读全文
windows phone ListBox in two columns
摘要:希望得到一个多个列的listBox,每个单元都是ListBox的一个Item, 效果图如下:对应的xaml: <Grid x:Name="LoginNoSubsPanel" Visibility="Visible"> <ListBox x:Name="HotKeywordsListBox" ItemsSource="{Binding RecommendedTopicsLeft}"> <ListB...
阅读全文
windows phone richtextbox hyperlink remove underline
摘要:private void AppendLink(string text, Uri uri) { Paragraph paragraph; if (this.Blocks.Count == 0 || (paragraph = this.Blocks[this.Blocks.Count - 1] as Paragraph) == null) { paragraph = new Paragraph(); this.B...
阅读全文
show diffrent appbar for windows phone pivot page
摘要:<phone:PhoneApplicationPage.Resources> <shell:ApplicationBar x:Key="AppBar0" IsMenuEnabled="True" IsVisible="True" Mode="Default" Opacity="0.8" BackgroundColor="Black" ForegroundColor="White"> <shell:ApplicationBarI
阅读全文