I have a a TreeView that fills the top part of the application, but since the number of items in the TreeView changes, my Apply button changes its
TreeView
To achieve anchoring, Set following properties:
Example: