protected override void OnLayout(LayoutEventArgs levent) { if (this.IsHandleCreated && !this.init) { base.OnLayout(levent); } this.UpdateScrollBars(); }