Answered by:
How do I detect the rotation of a tagged object?

Question
-
Hi everyone,
How can I detect when a tagged object placed on the Surface device has been rotated? For example, when I place a circular tagged object on the display, a circular menu appears around it. Now, when the object is rotated, a different part of the menu is selected each time the object is rotated. All help is appreciated!
Tuesday, June 5, 2012 11:24 AM
Answers
-
You need to build a so call custom panel for what you want to accomplish
http://wpftutorial.net/CustomLayoutPanel.html
http://www.codeproject.com/Articles/37348/Creating-Custom-Panels-In-WPF
http://www.codebullets.com/custom-circle-panel-wpf-part-1-216
hope it helps
regardsSerge
Your knowledge is enhanced by that of others.
- Proposed as answer by Roy Janssen - Semper IT Services Friday, June 8, 2012 10:06 AM
- Marked as answer by tijmarkib Wednesday, June 13, 2012 6:18 AM
Wednesday, June 6, 2012 1:58 PM -
Actually, I was searching for the particular event which is fired when a tagged object is moved. That would be the "VisualizationMoved" event. But thanks for suggesting the custom panel idea- that put me on the right track. :)
- Marked as answer by tijmarkib Wednesday, June 13, 2012 6:24 AM
Wednesday, June 13, 2012 6:24 AM
All replies
-
Hello,
You can find all the information you need here:
http://msdn.microsoft.com/en-us/library/ff727866http://msdn.microsoft.com/en-us/library/ff727801
http://msdn.microsoft.com/en-us/library/microsoft.surface.presentation.controls.tagvisualizer
Roy Janssen - Semper IT Services (Please mark an answer as "answered" if it does help you!)
- Edited by Roy Janssen - Semper IT Services Tuesday, June 5, 2012 11:39 AM
- Proposed as answer by Roy Janssen - Semper IT Services Friday, June 8, 2012 10:06 AM
Tuesday, June 5, 2012 11:34 AM -
You need to build a so call custom panel for what you want to accomplish
http://wpftutorial.net/CustomLayoutPanel.html
http://www.codeproject.com/Articles/37348/Creating-Custom-Panels-In-WPF
http://www.codebullets.com/custom-circle-panel-wpf-part-1-216
hope it helps
regardsSerge
Your knowledge is enhanced by that of others.
- Proposed as answer by Roy Janssen - Semper IT Services Friday, June 8, 2012 10:06 AM
- Marked as answer by tijmarkib Wednesday, June 13, 2012 6:18 AM
Wednesday, June 6, 2012 1:58 PM -
Actually, I was searching for the particular event which is fired when a tagged object is moved. That would be the "VisualizationMoved" event. But thanks for suggesting the custom panel idea- that put me on the right track. :)
- Marked as answer by tijmarkib Wednesday, June 13, 2012 6:24 AM
Wednesday, June 13, 2012 6:24 AM