I have two questions.
1.
I want text annotation witch is selectable but user can not move it. All User can do is delete.
Are there any good idea?
2.
How to catch the mouse over event of the AnnotationViewModel to be binded?
Thank you.
- Yutaka Dejima asked 4 years ago
-
Hi Yukata, it’s actually very hard to do this with the current API, but easy with a small code change. I will investigate and see what we can do.
-
First question is answered. Second question is a bit more work. I have spent half a day adding the ResizeDirections.None property for you. Would you consider to hire us for feature sponsorship for events in Viewmodels? We would like to hear from you about your requirements and how we can best adjust the API to suit your needs. Best regards, Andrew
- You must login to post comments
Hi Yukata,
In order to implement this I’ve had to add a new feature to AnnotationBase. We already have AnnotationBase.ResizeDirections and AnnotationBase.DragDirections property, but this accepted values of X, Y or XY. I have added a new value: None.
Tomorrow, get the nightly build for v5.4.1 and try this:
<s:LineAnnotation IsEditable="True" DragDirections="None" ResizeDirections="None"/>
For the second question, routing mouse events from annotations to AnnotationViewModels, also very difficult with the current API. I will see what can be done about this.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 4 years ago
- last edited 4 years ago
- You must login to post comments
Hi Andrew.
Thank you for you answer.
Answer1
Thank you. I’ll try v5.4.1.Answer2
okay, I’ll consider another way.
Best regards.
- Yutaka Dejima answered 4 years ago
-
Just an FYI, you will need v5.4.1.12188 or later. This has not been published yet due to a failing test on our nightly build. It will be soon! Best regards, Andrew
- You must login to post comments
Please login first to submit.