2014-05-14 3 views
0

타일 이미지 제목에 panaroma 응용 프로그램에 쓰려고합니다. 그리고 .xaml 페이지에서 아래의 코드를 볼 수 없습니다.Windows Phone 8 Panaroma 응용 프로그램 타일 제목

<image Title="blabla" ...> 

이것은 내 코드입니다.

Output is here

<phone:PanoramaItem Header="Kişisel Bilgiler" Orientation="Horizontal"> 
      <!--Double wide Panorama with large image placeholders--> 
      <Grid> 
       <StackPanel Margin="0,4,16,0" Orientation="Vertical" VerticalAlignment="Top"> 
        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Margin="0,12,0,0"> 
         <toolkit:WrapPanel> 

          <Border BorderBrush="AliceBlue" BorderThickness="1" Margin="12,0,0,0"> 

           <Image Width="173" Height="173" Source=".\Assets\cinsiyet.png" Tag="img_deneme" Margin="0,0,0,0" x:Name="img_cins" MouseEnter="Image_MouseEnter" /> 

          </Border> 
         </toolkit:WrapPanel> 
        </StackPanel> 
       </StackPanel> 
      </Grid> 
</phone:PanoramaItem> 
하지만 like this

감사에 사전입니다합니다. (내 언어 Sorry)

답변

1

Image 컨트롤에는 Tile의 제목과 비슷한 텍스트를 표시하는 속성이 없습니다. 당신은 TextBlock를 사용하여 예를 들어, 제목을 표시하기 위해 다른 컨트롤을 추가해야합니다

<toolkit:WrapPanel> 
    <Grid> 
     <Border BorderBrush="AliceBlue" BorderThickness="1" Margin="12,0,0,0"> 
      <Image Width="173" Height="173" Source=".\Assets\cinsiyet.png" Tag="img_deneme" Margin="0,0,0,0" x:Name="img_cins" MouseEnter="Image_MouseEnter" /> 
     </Border> 
     <TextBlock Margin="0,150,0,0" Text="Tile Title" Foreground="White"/> 
    </Grid> 
</toolkit:WrapPanel> 

당신은 또한 대안으로 HubTile 제어를 시도 할 수 있습니다.

+0

아주 예시입니다. 모든게 har07 주셔서 감사합니다. –

+0

당신은 오신 것을 환영합니다. [대답을 수락] (http://stackoverflow.com/help/someone-answers)를 잊지 마세요. – har07