I have a Grid
with these rows settings:
(I can't post much code, sorry)
RowDefinition Height="1*"
RowDefinition Height="120"
Inside that grid I have a ScrollViewer
with Height="Auto"
and verticalAlignment = "Stretch"
at Row 0.
At row 2 I have another grid with a fix height of 60 pixels.
When I do this.UpdateLayout
(inside an UserControl
), then the scrollviewer.ActualHeight
goes to 2332, which is the same size of an image inside it and exceed the resolution screen. Why its not updating to fit the screen?
Thanks.