Beispiel #1
0
        /// <inheritdoc/>
        protected override void PanelCreated(IPanel panel)
        {
            Virtualizer?.Dispose();
            Virtualizer = ItemVirtualizer.Create(this);
            ((ILogicalScrollable)this).InvalidateScroll?.Invoke();

            KeyboardNavigation.SetTabNavigation(
                (InputElement)Panel,
                KeyboardNavigation.GetTabNavigation(this));
        }
Beispiel #2
0
 private void VirtualizationModeChanged(AvaloniaPropertyChangedEventArgs e)
 {
     Virtualizer?.Dispose();
     Virtualizer = ItemVirtualizer.Create(this);
     ((ILogicalScrollable)this).InvalidateScroll?.Invoke();
 }