Windows XP에서 Windows Phone 개발하기

.Net/Windows Phone 2011.12.19 15:03

Windows Phone 의 최소개발환경이 Windows Vista, Windows 7이다..
근데.. 현재 개발PC의 OS가 Windows XP라면?

이 사이트를 참고하자
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/bd63b265-50d9-4d36-9508-716759919ee0

주의 : SDK설치 및 개발은 가능하지만 시뮬레이터는 동작하지않는다. 그이유는 시뮬레이터는 DirectX 10.0 이상이 있어야 하기때문! (Windows XP는 DirectX 9.까지 지원)

설정

트랙백

댓글

Grid에 Tab 이벤트가 잘 안먹는다고?

.Net/Windows Phone 2011.12.18 22:43


Grid에 Tab이벤트가 안먹는다... 왜 안먹을까?
근데 Grid 밑의 자식 엘리먼트를 탭하면 Grid의 Tab이벤트가 먹는다...

팁!!

Grid의 Background를 설정하면 Tab이벤트가 먹는다!
<Grid Tap="listBoxCurrentPlaybackItem_Tap" Background="Transparent" Margin="0,0,5,0">
요로케!~




<ListBox Grid.Row="1" Name="listBoxCurrentPlayback" Margin="0,20" Height="450" ItemsSource="{Binding CurrentPlaybackItems}">
      <ListBox.ItemTemplate>
       <DataTemplate>
        <Grid Tap="listBoxCurrentPlaybackItem_Tap" Background="Transparent" Margin="0,0,5,0">
         <toolkit:ContextMenuService.ContextMenu>
          <toolkit:ContextMenu>
           <!--<toolkit:MenuItem Header="Download" />-->
           <toolkit:MenuItem Header="Delete" Click="listBoxCurrentPlaybackItemContextMenuDelete_Click" />
          </toolkit:ContextMenu>
         </toolkit:ContextMenuService.ContextMenu>
         <Grid.ColumnDefinitions>
          <ColumnDefinition Width="Auto" />
          <ColumnDefinition Width="*" />
         </Grid.ColumnDefinitions>

         <Image Grid.Column="0" x:Name="icon" Width="40" Height="40" Source="/MyMusic;component/Resources/MusicIcon.png" />
         <StackPanel Grid.Column="1">
          <StackPanel Orientation="Horizontal">
           <TextBlock  Text="{Binding Title}" Style="{StaticResource MusicTitleStyle}" />
           <TextBlock  Text="-" Style="{StaticResource MusicTitleStyle}" />
           <TextBlock  Text="{Binding Album}" Style="{StaticResource MusicTitleStyle}" />
          </StackPanel>
          <StackPanel Height="30" Orientation="Horizontal">
           <TextBlock Text="{Binding Artist}" Width="280" Style="{StaticResource MusicInfoStyle}" HorizontalAlignment="Left" />
           <TextBlock Text="{Binding Duration}" Style="{StaticResource MusicInfoStyle}" HorizontalAlignment="Right" />
          </StackPanel>
         </StackPanel>
        </Grid>
       </DataTemplate>
      </ListBox.ItemTemplate>
     </ListBox>

설정

트랙백

댓글