Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

refactor/fix: calling Source.Selection.Select() was not working for FlatTree#237

Open
alexandrehtrb wants to merge 1 commit intoAvaloniaUI:masterfrom
alexandrehtrb:refactor/trygetitemat-selection
Open

refactor/fix: calling Source.Selection.Select() was not working for FlatTree#237
alexandrehtrb wants to merge 1 commit intoAvaloniaUI:masterfrom
alexandrehtrb:refactor/trygetitemat-selection

Conversation

@alexandrehtrb
Copy link

Calling Source.Selection.Select() was not working for FlatTree
Now it works, but only selecting one index at a time, I don't know how to select multiple using IndexPath...
Like, this works:

treeDataGrid.Source.Selection.Select(new IndexPath(1));
treeDataGrid.Source.Selection.Select(new IndexPath(2));

This doesn't work:

treeDataGrid.Source.Selection.Select(new IndexPath(1, 2));

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant