摘要:
在Windows 8 App中, App Button 的Style都是存储在资源文件中的, 系统自带的资源文件在Common folder下的StandardStyle.Xaml . 里边定义的Style是以健(Key)的形式表示和定义的。当我们在程序中动态改变一个App Button的Style是, 可以这么写: btPicture.Style = (Style)Application.Current.Resources["PicturesAppBarButtonStyle"];还有, 当你自定义一个Style时, 它所BasedOn的Style一定要写在其定义行之前. 阅读全文
posted @ 2012-12-20 17:14
零点零一
阅读(648)
评论(0)
推荐(0)
摘要:
Expected BottomeAppBar Style:For a long time, I have problem with the button alignment in bottomAppBar. If we have more than one buttons, I knew we need to add them to a stackpanel, and there only could be one stackpanel be added directly under <AppBar></AppBar>. Therefore if I want to l 阅读全文
posted @ 2012-12-20 17:06
零点零一
阅读(239)
评论(0)
推荐(0)
浙公网安备 33010602011771号