Hello. I am making a wpf app. I have a button that is made out of a canvas. I added this button to the child of another canvas and i want it to stay on the right side of the parent and it does with the code I have written but when i change the size of the application the parent gets way bigger and the exit button doesn't stay on the right hand side which is a problem. How can i the child with horizonatal alignment. right on the right hand side always without adding code to a window size changed event? Thanks.