You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MAUI/TreeView/sorting.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@ documentation: ug
11
11
12
12
The `SfTreeView` control provides built-in support for sorting data using the `SortDescriptors` property. Items can be sorted in either ascending or descending order. Custom sorting logic is also supported to sort the items.
13
13
14
-
N> When the `ItemsSource` of the `SfTreeView` is updated, the existing `SortDescriptors` are automatically cleared. To maintain sorting behavior after changing the `ItemsSource`, you must retain sorting in the `SfTreeView`.
15
-
16
14
## Programmatic sorting
17
15
18
16
Sort items by creating a `SortDescriptor` with the property name and sort direction, and then adding it to the `SortDescriptors` collection.
0 commit comments