protected override void OnClearChildren ()
{
base.OnClearChildren ();
HorizontalOffset = 0;
VerticalOffset = 0;
ViewportHeight = 0;
ViewportWidth = 0;
ExtentHeight = 0;
ExtentWidth = 0;
InvalidateMeasure ();
if (ScrollOwner != null)
ScrollOwner.InvalidateScrollInfo ();
}