I have a Vertical stack layout which i am adding elements to. I want to get the height of the stack layout but it is alway assigning the value of 0.
When I inspect in Visual Studio, the height is definitly showing as non-zero but it doesn't get assigned to my variable.
double chats_Height = view_Chat.Height;
chats_Height is always 0, but view_Chat.Height has a non-zero value.
very strangee as i've never seen this in C# before,
I have the stacklayout inside a scrollview. i want the height of the stacklayout so i can scroll to the end of the scroll view programmatically.