Skip to content

Commit ff2a12b

Browse files
authored
Merge pull request #247 from DmiMukh/patch-1
Update creating-a-flat-treedatagrid.md
2 parents b746cba + 8cae65f commit ff2a12b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/controls/detailed-reference/treedatagrid/creating-a-flat-treedatagrid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace AvaloniaControls.ViewModels
2727
{
2828
private ObservableCollection<Person> _people;
2929

30-
public HierarchicalTreeDataGridSource<Person> PersonSource { get; }
30+
public FlatTreeDataGridSource<Person> PersonSource { get; }
3131

3232
public MainWindowViewModel()
3333
{
@@ -39,7 +39,7 @@ namespace AvaloniaControls.ViewModels
3939
new Person ( "Jazmine", "Schroeder", 52 ),
4040
};
4141

42-
PersonSource = new HierarchicalTreeDataGridSource<Person>(_people)
42+
PersonSource = new FlatTreeDataGridSource<Person>(_people)
4343
{
4444
Columns =
4545
{

0 commit comments

Comments
 (0)