diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs index fa2c828b..8b0c90b7 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs @@ -529,14 +529,14 @@ namespace Microsoft.Windows.Controls.PropertyGrid PropertyItemCollection propertyCollection = new PropertyItemCollection(propertyItems); propertyCollection.GroupBy("Category"); propertyCollection.SortBy("Category", ListSortDirection.Ascending); - propertyCollection.SortBy("Name", ListSortDirection.Ascending); + propertyCollection.SortBy("DisplayName", ListSortDirection.Ascending); return propertyCollection; } private static PropertyItemCollection GetAlphabetizedProperties(List propertyItems) { PropertyItemCollection propertyCollection = new PropertyItemCollection(propertyItems); - propertyCollection.SortBy("Name", ListSortDirection.Ascending); + propertyCollection.SortBy("DisplayName", ListSortDirection.Ascending); return propertyCollection; }