Hi,
I am creating an application which works in desktop and tablet.
I created a user control with 10 Buttons.
In MainWindow, I created a ScrollViewer which has StackPanel as a child.
I have created 5 instance usercontrol and added it into stackpanel.
In scrollviewer, I have set Scrollviewer.PanningMode="None" , IsManipulationEnabled="true"
I have also written ManipulationDelta and ManipulationCompleted events for scrollviewer.
In ManipulationDelta and ManipulationCompleted events, i have written logic to move the scrollviewer page by page nothing but moving one usercontrol at a time.
Now the problem is Button Click events are not triggered. Please help me how activate the button click events.
Please help me.
Note:
I cant make Scrollviewer.PanningMode other than "None" because i want the panning to be done page by page.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This will help other members to find the solution easily.