I have a TextBox called addTextBox which is inside a row called addTextBoxRow whose height is 500*
I want to assign the height of the addTextBoxRow to addTextBox whenever the layout changes.
But when I tried with addTextBox.Height = addTextBoxRow.Height, it gives me an error that it cannot implicitly convert type ‘Windows.UI.Xaml.GridLength’ to ‘double’.
GridLength.Value Property
Also check out the
ActualHeightproperty which changes as you resize theGrid: