Browse Source
Merge pull request #1863 from AvaloniaUI/fixes/1829-itemscontrol-nre
Fix NRE when VirtualizingStackPanel used with ItemsControl.
pull/1867/head
Jeremy Koritzinsky
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Presenters/ItemVirtualizer.cs
|
|
|
@ -279,6 +279,6 @@ namespace Avalonia.Controls.Presenters |
|
|
|
/// <summary>
|
|
|
|
/// Invalidates the current scroll.
|
|
|
|
/// </summary>
|
|
|
|
protected void InvalidateScroll() => ((ILogicalScrollable)Owner).InvalidateScroll(); |
|
|
|
protected void InvalidateScroll() => ((ILogicalScrollable)Owner).InvalidateScroll?.Invoke(); |
|
|
|
} |
|
|
|
} |
|
|
|
|