• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 785
  • Last Modified:

canvas children can't drag out of the canvas boundaries

Hi All,

this is krishna, i am working on wpf application in this application in a canvas i draw different shapes and we drag those shapes and also resize those elements, but when i am selecting an shape by mouse and draging that shape from out side of that canvas, and i want to restrict those elements in the canvas those can be translated in the canvas boundaries but not outside of the canvas.

please if any body have an idea how to control children in the canvas by not crossing the canvas boundaries.

and in this application some adorns concept is used but i am new to adorns so please explain how easily understand this and implement it.



Thanks & Regards

v.s.r.krishna
0
jeesrinu
Asked:
jeesrinu
1 Solution
 
jeesrinuAuthor Commented:
hai
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now