I have a Border inside a Canvas. The Border's height/width are varying according to its contents. I want the Border to stretch out to fill up the entire Canvas. How can I do that?
I have tried this on the Border without success:
Height="{Binding ElementName=MainCanvas, Path=Height}"
Width="{Binding ElementName=MainCanvas, Path=Width}"