2014-05-18 3 views
1

내 Windows 8 응용 프로그램에서 HorizontalScrollMode가 설정된 GridView 내에 여러 ListView가 있습니다. 내가 원하는 것은 ListView의 왼쪽/오른쪽 동작을 무시하는 것입니다.ListView Windows 8, 스 와이프 위/아래로 스 와이프 위/아래로 스 와이프

내가 출근 왼쪽/Rigt을 대체 할 (/ 선택 해제 선택)/업 (/ 선택 취소를 선택), 내가 ItemContainerStyle과 내가 찾은에만 해당 일에

<VisualState x:Name="UnselectedSwiping"> 
           <Storyboard> 
            <DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectingGlyph"/> 
            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HintGlyphBorder"/> 
           </Storyboard> 
</VisualState> 

되어 재생하려고 아래로 스 와이프합니다
<VisualState x:Name="SelectedSwiping"> 
           <Storyboard> 
            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectionBackground"/> 
            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedBorder"/> 
            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedCheckMark"/> 
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="contentPresenter"> 
             <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ListViewItemSelectedForegroundThemeBrush}"/> 
            </ObjectAnimationUsingKeyFrames> 
           </Storyboard> 
</VisualState> 

그러나 동작을 변경하려는 경우 문제가 해결되지 않는 것 같습니다. 어떻게 할 수 있습니까? 주변에 어떤 문제가 없다면?

답변

0

정확하게 기억이 나지 않지만 가장 쉬운 방법은 ListViewGridView으로 대체하는 것입니다.