From 59cc5749f4e16976952dfd07eec4bb2149512600 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Wed, 17 Mar 2021 22:43:48 +0800 Subject: [PATCH] fixed #730 --- .../HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs index 8e5c2454..3888b91c 100644 --- a/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs +++ b/src/Shared/HandyControl_Shared/Controls/PropertyGrid/PropertyGrid.cs @@ -143,7 +143,7 @@ namespace HandyControl.Controls _dataView.GroupDescriptions.Clear(); _dataView.SortDescriptions.Clear(); _dataView.SortDescriptions.Add(new SortDescription(PropertyItem.CategoryProperty.Name, ListSortDirection.Ascending)); - _dataView.SortDescriptions.Add(new SortDescription(PropertyItem.PropertyNameProperty.Name, ListSortDirection.Ascending)); + _dataView.SortDescriptions.Add(new SortDescription(PropertyItem.DisplayNameProperty.Name, ListSortDirection.Ascending)); _dataView.GroupDescriptions.Add(new PropertyGroupDescription(PropertyItem.CategoryProperty.Name)); } }