仅为代码记录,别无它用:
<ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Hidden"
IsHorizontalRailEnabled="True" VerticalScrollMode="Disabled" IsScrollInertiaEnabled="True"
IsZoomChainingEnabled="True" HorizontalScrollMode="Enabled" Background="#4410f730"> <Grid Width="3000" Margin="124,207,0,0" Background="#88f73b10"> <Canvas Height="489" VerticalAlignment="Top" HorizontalAlignment="Left"> <TextBlock Text="分类" FontSize="34" Foreground="#ff333333" Canvas.Top="-38" /> <Image Source="Images/Hot.jpg" Stretch="Fill" /> <Image Source="Images/news.jpg" Stretch="Fill" Canvas.Top="308"/> <Image Source="Images/Scoff.jpg" Stretch="Fill" Canvas.Left="399"/> <Image Source="Images/pic.jpg" Stretch="Fill" Canvas.Left="605"/> <Image Source="Images/pub.jpg" Stretch="Fill" Canvas.Left="399" Canvas.Top="308"/> </Canvas> </Grid> </ScrollViewer>