Index: Core/Common/src/Core.Common.Controls.TreeView/TreeViewControl.cs =================================================================== diff -u -r3f35f3de88bb3cfd07df4c1bdd4447a6fcecce89 -rb3883ecc0719d5df114cacc849796c0ca420507d --- Core/Common/src/Core.Common.Controls.TreeView/TreeViewControl.cs (.../TreeViewControl.cs) (revision 3f35f3de88bb3cfd07df4c1bdd4447a6fcecce89) +++ Core/Common/src/Core.Common.Controls.TreeView/TreeViewControl.cs (.../TreeViewControl.cs) (revision b3883ecc0719d5df114cacc849796c0ca420507d) @@ -113,14 +113,6 @@ } } - public IEnumerable TreeNodeInfos - { - get - { - return treeNodeInfos; - } - } - /// /// This method registers the provided . /// Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/AreaDataTreeNodeInfoTest.cs =================================================================== diff -u -rc68064014494505f833de7749ee7b3d879f723d6 -rb3883ecc0719d5df114cacc849796c0ca420507d --- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/AreaDataTreeNodeInfoTest.cs (.../AreaDataTreeNodeInfoTest.cs) (revision c68064014494505f833de7749ee7b3d879f723d6) +++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/AreaDataTreeNodeInfoTest.cs (.../AreaDataTreeNodeInfoTest.cs) (revision b3883ecc0719d5df114cacc849796c0ca420507d) @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Core.Common.Base; @@ -27,8 +28,9 @@ legendView = new LegendView(); var treeViewControl = TypeUtils.GetField(legendView, "treeViewControl"); + var treeNodeInfos = TypeUtils.GetField>(treeViewControl, "treeNodeInfos"); - info = treeViewControl.TreeNodeInfos.First(tni => tni.TagType == typeof(AreaData)); + info = treeNodeInfos.First(tni => tni.TagType == typeof(AreaData)); } [Test] Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/ChartDataCollectionTreeNodeInfoTest.cs =================================================================== diff -u -r5bcddcaff997d5871cbe96230dfa2c23a8832925 -rb3883ecc0719d5df114cacc849796c0ca420507d --- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/ChartDataCollectionTreeNodeInfoTest.cs (.../ChartDataCollectionTreeNodeInfoTest.cs) (revision 5bcddcaff997d5871cbe96230dfa2c23a8832925) +++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/ChartDataCollectionTreeNodeInfoTest.cs (.../ChartDataCollectionTreeNodeInfoTest.cs) (revision b3883ecc0719d5df114cacc849796c0ca420507d) @@ -29,8 +29,9 @@ legendView = new LegendView(); var treeViewControl = TypeUtils.GetField(legendView, "treeViewControl"); + var treeNodeInfos = TypeUtils.GetField>(treeViewControl, "treeNodeInfos"); - info = treeViewControl.TreeNodeInfos.First(tni => tni.TagType == typeof(ChartDataCollection)); + info = treeNodeInfos.First(tni => tni.TagType == typeof(ChartDataCollection)); } [Test] Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/LineDataTreeNodeInfoTest.cs =================================================================== diff -u -rc68064014494505f833de7749ee7b3d879f723d6 -rb3883ecc0719d5df114cacc849796c0ca420507d --- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/LineDataTreeNodeInfoTest.cs (.../LineDataTreeNodeInfoTest.cs) (revision c68064014494505f833de7749ee7b3d879f723d6) +++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/LineDataTreeNodeInfoTest.cs (.../LineDataTreeNodeInfoTest.cs) (revision b3883ecc0719d5df114cacc849796c0ca420507d) @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Core.Common.Base; @@ -27,8 +28,9 @@ legendView = new LegendView(); var treeViewControl = TypeUtils.GetField(legendView, "treeViewControl"); + var treeNodeInfos = TypeUtils.GetField>(treeViewControl, "treeNodeInfos"); - info = treeViewControl.TreeNodeInfos.First(tni => tni.TagType == typeof(LineData)); + info = treeNodeInfos.First(tni => tni.TagType == typeof(LineData)); } [Test] Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/PointDataTreeNodeInfoTest.cs =================================================================== diff -u -rc68064014494505f833de7749ee7b3d879f723d6 -rb3883ecc0719d5df114cacc849796c0ca420507d --- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/PointDataTreeNodeInfoTest.cs (.../PointDataTreeNodeInfoTest.cs) (revision c68064014494505f833de7749ee7b3d879f723d6) +++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/PointDataTreeNodeInfoTest.cs (.../PointDataTreeNodeInfoTest.cs) (revision b3883ecc0719d5df114cacc849796c0ca420507d) @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Core.Common.Base; @@ -27,8 +28,9 @@ legendView = new LegendView(); var treeViewControl = TypeUtils.GetField(legendView, "treeViewControl"); + var treeNodeInfos = TypeUtils.GetField>(treeViewControl, "treeNodeInfos"); - info = treeViewControl.TreeNodeInfos.First(tni => tni.TagType == typeof(PointData)); + info = treeNodeInfos.First(tni => tni.TagType == typeof(PointData)); } [Test]