Skip to content

Commit ce28b5f

Browse files
authored
fix check for SortMemberPath in column sort description
1 parent f350b5c commit ce28b5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ItemsSource/ColumnSortDescription.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public ColumnSortDescription(TableViewColumn column,
2222
public override object? GetPropertyValue(object? item)
2323
{
2424
// Use reflection-based property access when SortMemberPath is explicitly provided; otherwise, fall back to column cell content.
25-
if (!string.IsNullOrEmpty(PropertyName))
25+
if (!string.IsNullOrEmpty(Column.SortMemberPath))
2626
{
2727
return base.GetPropertyValue(item);
2828
}

0 commit comments

Comments
 (0)