我的windowsphone8应用程序中有一些图像,我想在有人点击该图像的缩略图时显示

时间:2014-01-10 12:12:49

标签: button windows-phone-8 click

Ihave Used Buttons显示图像的缩略图

<phone:PanoramaItem Header="gallery" Orientation="Horizontal" Foreground="#FFD8D36D" Height="611">
  <!--Double wide Panorama with large image placeholders-->
  <ScrollViewer Margin="0,4,16,37" >
      <StackPanel Orientation="Vertical" Height="878" Width="404" RenderTransformOrigin="0.491,0.995">

         <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
              <Button Height="120" Width="120" Margin="12,0,0,0" Click="Button_Click_3">
                <Button.Background>
                    <ImageBrush Stretch="UniformToFill" ImageSource="/gallery/1.png"/>
                </Button.Background>
              </Button>
              <Button Height="120" Width="120" Margin="12,0,0,0">
                <Button.Background>
                   <ImageBrush Stretch="UniformToFill" ImageSource="/gallery/2.png"/>
                 </Button.Background>
              </Button>
        </StackPanel>

0 个答案:

没有答案