摘要: void MainPage_Loaded(object sender, RoutedEventArgs e) { #region 回到顶部按钮 // Visual States are always on the first child of the control template FrameworkElement element = VisualTreeHelper.GetChild(viewer_hot, 0) as FrameworkElement; if (element != n... 阅读全文
posted @ 2012-04-28 18:21 博琼 阅读(423) 评论(1) 推荐(0)
摘要: <ScrollViewer x:Name="viewer_hot"> <Grid Margin="0,-60,0,0"> <Grid.RowDefinitions> <RowDefinition Height="60"/> <RowDefinition Height="Auto"/> </Grid.RowDefinit... 阅读全文
posted @ 2012-04-28 18:19 博琼 阅读(447) 评论(0) 推荐(0)
摘要: <Controls1:Pivot Grid.Row="1" ItemsSource="{Binding Items}" > <Controls1:Pivot.HeaderTemplate> <DataTemplate> <Grid> <TextBlock Margin="0,0,1,0" TextWrapping=... 阅读全文
posted @ 2012-04-28 12:14 博琼 阅读(535) 评论(0) 推荐(0)
摘要: 部分WP7开发者可能对Operation not permitted on IsolatedStorageFileStream这个错误感到疑惑,有时候操作时主要是因为IsolatedStorage中没有相应的文件夹造成,同时对于程序内部的资源结构,这里Zune123给大家说明下: IsolatedStorageFile文件是保存在\Applications\Data\程序的GUID\Data\IsolatedStore这个文件夹下的。 IsolatedStorageSettings是保存在\Applications\Data\程序的GUID\Data\IsolatedStore\_... 阅读全文
posted @ 2012-04-28 10:15 博琼 阅读(344) 评论(0) 推荐(0)