From e34f51e8b1e12c19d175fe0da6eca0d5ff10837d Mon Sep 17 00:00:00 2001 From: brianlagunas_cp Date: Fri, 30 Sep 2011 18:58:53 +0000 Subject: [PATCH] PropertyGrid: fixed bug when the SelectedObject is set to null the information panel retains the last selected property info. --- .../PropertyGrid/Implementation/PropertyGrid.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs index 4a12cedf..51b8cfed 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs @@ -532,6 +532,7 @@ namespace Microsoft.Windows.Controls.PropertyGrid SelectedObjectName = String.Empty; SelectedObjectType = null; _propertyItemsCache = null; + SelectedProperty = null; Properties = null; }