wpf2019. 2. 14. 15:34

Libox를 감싸는 패널에  StackPanel이 있으면 안된다.


 Grid를 사용해야 하며 


만약 WrapPanel을 이용할경우


ControlTemplate대신 ItemPanelTemplate을 이용해야한다.




Posted by 동동(이재동)
wpf2018. 10. 23. 09:48
<ScrollViewer PanningMode="Both" x:Name="ScrollViewer"ManipulationBoundaryFeedback="ScrollViewer_ManipulationBoundaryFeedback">
    <StackPanel Width="300">
    </StackPanel>
</ScrollViewer>



private void ScrollViewer_ManipulationBoundaryFeedback(object sender, ManipulationBoundaryFeedbackEventArgs e)
{
    e.Handled = true;
}


Posted by 동동(이재동)