Is there a way that I can register an event, on a control that inherits from Canvas, that is fired w

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-05-29T04:18:03Z Indexed on 2010/05/29 4:22 UTC
Read the original article Hit count: 232

Filed under:
|

I am trying to add horizontal and vertical "Position" attached properties to my canvas control that allow me to set a control's position (e.g. Horizontal: Left, Right, Center).

I need a children size changed event handler so that I can adjust the position of an element whose size is changed if it's horizontal or vertical position is Center.

Is there a way that I could do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf