Skip to content

Commit 25130a2

Browse files
authored
Update README.md
1 parent 90ab49c commit 25130a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# add-item-to-group-in-specific-index-.net-maui-listview
22
How to add an item at a specific index in grouped .NET MAUI ListView (SfListView) ?
33

4-
In [.NET MAUI ListView (SfListView)](https://www.syncfusion.com/maui-controls/maui-listview), you can add an item at a specific index in a specific group by using the `KeySelector` property and the Key value of each group. Since, each group is identified by its `Key,`which holds the underlying data related to the group. When a new item is added at runtime, you need to find which group the item belongs to by using `PropertyInfoCollection`, `PropertyName` and `KeySelector`and after getting the desired group’s `GroupResult` value, insert the particular item into a specified index.
4+
In [.NET MAUI ListView (SfListView)](https://www.syncfusion.com/maui-controls/maui-listview), you can add an item at a specific index in a specific group by using the `KeySelector` property and the Key value of each group. Since, each group is identified by its `Key`,which holds the underlying data related to the group. When a new item is added at runtime, you need to find which group the item belongs to by using `PropertyInfoCollection`, `PropertyName` and `KeySelector`and after getting the desired group’s `GroupResult` value, insert the particular item into a specified index.
55
C#
66
To add new data to the underlying collection in the ViewModel class,
77
```c#

0 commit comments

Comments
 (0)