AlexeyRedko Posted April 5, 2011 Report Share Posted April 5, 2011 Hello ! Is it possible to create annotation that can be movable and sizable like in Winforms versions.If it is not there are worarounds or direction Quote Link to comment Share on other sites More sharing options...
JuanC Posted April 14, 2011 Report Share Posted April 14, 2011 We do not support moving and/or sizing annotations as we do in WinForms. You might want to try to use the Adorner API, note that this sample will draw adorners around all annotation elements, you would probably want to play with the visibility so that only one of them is visible at a time and also handle event to support moving and/or sizing AdornerLayer myAdornerLayer= AdornerLayer.GetAdornerLayer(chart1);foreach(UIElement uiElem inannotations.Children) myAdornerLayer.Add(newSimpleCircleAdorner(uiElem)); You can use the SimpleCircleAdorner class and more info about the Adorner API here JuanC Quote Link to comment Share on other sites More sharing options...
AlexeyRedko Posted April 17, 2011 Author Report Share Posted April 17, 2011 Thanks for response.Actually I already implemented moving of annotation using the Adorner API (using drag and drop examples implemented by Adorner API ) and now I try to implement sizing by the same way.Unfortunatly it not so trivial issue . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.