From 1114df5d453838326d493386e2ae9aed2b077b86 Mon Sep 17 00:00:00 2001 From: MonkAlex <3amepob@gmail.com> Date: Mon, 11 Mar 2019 22:42:54 +0400 Subject: [PATCH] #2356 Small rename Objects to Items --- src/Avalonia.Controls/Generators/TreeContainerIndex.cs | 2 +- src/Avalonia.Controls/TreeView.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Avalonia.Controls/Generators/TreeContainerIndex.cs b/src/Avalonia.Controls/Generators/TreeContainerIndex.cs index c831b7985c..0da84008f6 100644 --- a/src/Avalonia.Controls/Generators/TreeContainerIndex.cs +++ b/src/Avalonia.Controls/Generators/TreeContainerIndex.cs @@ -39,7 +39,7 @@ namespace Avalonia.Controls.Generators /// /// Gets the items of currently materialized containers. /// - public IEnumerable Objects => _containerToItem.Values; + public IEnumerable Items => _containerToItem.Values; /// /// Adds an entry to the index. diff --git a/src/Avalonia.Controls/TreeView.cs b/src/Avalonia.Controls/TreeView.cs index 8236c11983..94989254dc 100644 --- a/src/Avalonia.Controls/TreeView.cs +++ b/src/Avalonia.Controls/TreeView.cs @@ -411,7 +411,7 @@ namespace Avalonia.Controls if (this.SelectionMode == SelectionMode.Multiple && Match(keymap.SelectAll)) { - SelectingItemsControl.SynchronizeItems(SelectedItems, ItemContainerGenerator.Index.Objects); + SelectingItemsControl.SynchronizeItems(SelectedItems, ItemContainerGenerator.Index.Items); e.Handled = true; } }