diff --git a/src/Avalonia.Controls/VirtualizingCarouselPanel.cs b/src/Avalonia.Controls/VirtualizingCarouselPanel.cs index f655fd18d40..da0ff1eb691 100644 --- a/src/Avalonia.Controls/VirtualizingCarouselPanel.cs +++ b/src/Avalonia.Controls/VirtualizingCarouselPanel.cs @@ -80,16 +80,8 @@ event EventHandler? ILogicalScrollable.ScrollInvalidated remove => _scrollInvalidated -= value; } - bool ILogicalScrollable.BringIntoView(Control target, Rect targetRect) - { - throw new NotImplementedException(); - } - - Control? ILogicalScrollable.GetControlInDirection(NavigationDirection direction, Control? from) - { - throw new NotImplementedException(); - } - + bool ILogicalScrollable.BringIntoView(Control target, Rect targetRect) => false; + Control? ILogicalScrollable.GetControlInDirection(NavigationDirection direction, Control? from) => null; void ILogicalScrollable.RaiseScrollInvalidated(EventArgs e) => _scrollInvalidated?.Invoke(this, e); protected override Size MeasureOverride(Size availableSize)