How can I figure out the max scroll offset of a ScrollBox?

I’m trying to adjust the offset with a gamepad… it all works well and good but I can’t find any Max Offset… and since its a dynamic scrollbox that gets children at runtime… I sort of need to figure it out.