private void InvokeVerticalScrolled(ScrollEventArgs e) { if (VerticalScrolled != null) { VerticalScrolled.Invoke(this, e); } }
private void VerticalScrollbarScroll(object sender, ScrollEventArgs e) { AutoScrollPosition = new Point(HorizontalMetroScrollbar.Value, e.NewValue); UpdateScrollBarPositions(); VerticalScrolled?.Invoke(this, e); }