08 2012 档案

Windows 8 开发系列-Snapped状态下的全局appbar的设置
摘要:可以在<VisualState x:Name="Snapped">下控制appbar按钮的可见,但要记得不要单独在某个页面设置,要在globalappbar.xaml里面设置。 阅读全文

posted @ 2012-08-23 10:49 SUNJUNLIN 阅读(221) 评论(0) 推荐(0)

Windows 8 Metro 应用开发App Bar问题
摘要:<Page.BottomAppBar> <AppBar> <AppBar.Resources> <Style x:Key="MyAppBarButtonStyle" TargetType="Button" BasedOn="{StaticResource AppBarButtonStyle}"> <Setter Property="AutomationProperties.AutomationId" Value="MyAppBarButton" 阅读全文

posted @ 2012-08-16 23:09 SUNJUNLIN 阅读(213) 评论(0) 推荐(0)

Windows 8 开发系列-全局资源App.xml的ContentFontsize会导致应用退出
摘要:全局资源App.xml的ContentFontsize在APP中定义,但没有给确定的数字,这样会导致应用退出如下:<TextBlock TextWrapping="Wrap"Width="20" Height="Auto" FontSize="{StaticResourceContentFontsize}" Canvas.Top="42" Canvas.Left="60">改为:<TextBlock TextWrapping="Wrap" 阅读全文

posted @ 2012-08-10 14:52 SUNJUNLIN 阅读(187) 评论(0) 推荐(0)

VS2012 RC 注释选中行
摘要:今天把VS2012 RC版裝起來玩看看!要找把程式碼註解掉時,居然找不到像VS2010上的圖示!把游標到工具列上才知道,VS2012的圖示變了哦!快捷鍵也變了哦!註解:VS2010是(Ctrl+E,C),VS2012是(Ctrl+K, Ctrl+C)反註解:VS2010是(Ctrl+E,U),VS2012是(Ctrl+K, Ctrl+U) 阅读全文

posted @ 2012-08-10 13:39 SUNJUNLIN 阅读(9041) 评论(1) 推荐(0)

导航