Capturing NLineShape FromShape/ToShape changed


Author
Message
Ryan Dodd
Ryan Dodd
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)
Group: Forum Members
Posts: 1, Visits: 1
I am looking to capture this event in the drawing document. I'm sure this is something simple I overlooked in the documentation but if I use the BoundsChanged or PropertyChanged events on the NLineShape it seems to fire them off many times instead of just once. The property changed event captures on the size change. Is there another event I can subscribe to that would capture the simple drop event of that shape when either one of those properties change?

Thanks!

EDIT: As a follow up, is there any way I can force the line to never let the ToShape or FromShape be null - meaning when disconnected from a shape, force the line to either be connected to another shape or go back to the original shape if dropped disconnected?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search