Steven Kirk
|
0f9ceb25b7
|
Make ScrollIntoView accept an index, not an item.
Fixes #2569.
|
7 years ago |
Steven Kirk
|
c4afd15d90
|
Use SelectionModel in TreeView.
|
7 years ago |
Steven Kirk
|
6001115573
|
Use SelectionModel in SelectingItemsControl.
|
7 years ago |
Steven Kirk
|
0c894e20d3
|
Added SelectedItemsSync.
To sync between an `ISelectionModel` and a `SelectedItems` collection.
|
7 years ago |
Steven Kirk
|
435f0f7182
|
Merge branch 'pr/3435' into refactor/use-selectionmodel
|
7 years ago |
Steven Kirk
|
f103df6a9a
|
Changed IsSelected semantics.
Move old `IsSelected` semantics to `IsSelectedWithPartial` and add a new `IsSelected` method which checks for direct selection.
|
7 years ago |
Steven Kirk
|
96fbd6c531
|
Don't only select leaf nodes from SelectRange.
Related issues:
https://github.com/microsoft/microsoft-ui-xaml/issues/1969
https://github.com/microsoft/microsoft-ui-xaml/issues/1984
|
7 years ago |
Steven Kirk
|
c7a0188014
|
Merge branch 'feature/selectionmodel-reset-handling' into feature/selectionmodel-autoselect
|
7 years ago |
Steven Kirk
|
628959a85c
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
3f13eb4e24
|
Merge branch 'feature/selectionmodel' into feature/selectionmodel-changed-notifications
|
7 years ago |
Steven Kirk
|
95190e168b
|
Fixed SelectionModelChildrenRequestedEventArgs returning incorrect so...
…urce index
fixed sourceindex childrenrequested args
Port of ee03bace14
|
7 years ago |
Steven Kirk
|
f0f5e82599
|
Merge branch 'feature/selectionmodel-reset-handling' into feature/selectionmodel-autoselect
|
7 years ago |
Steven Kirk
|
def70b3b0a
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
# Conflicts:
# tests/Avalonia.Controls.UnitTests/SelectionModelTests.cs
|
7 years ago |
Steven Kirk
|
d32e353cdc
|
Merge branch 'feature/selectionmodel' into feature/selectionmodel-changed-notifications
|
7 years ago |
Steven Kirk
|
12abeab47e
|
Remove UWP stubs in unit tests.
|
7 years ago |
Steven Kirk
|
588c24ae2f
|
Merge branch 'feature/selectionmodel' into feature/selectionmodel-changed-notifications
|
7 years ago |
Steven Kirk
|
e4d45fc46d
|
ISelectionModel implements INotifyPropertyChanged.
This will be needed for monitoring the `AnchorIndex` in order to auto-scroll.
|
7 years ago |
Steven Kirk
|
add611e7e9
|
Merge branch 'feature/selectionmodel-reset-handling' into feature/selectionmodel-autoselect
|
7 years ago |
Steven Kirk
|
40fb4541f6
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
efab1c8266
|
Fix SelectionNode.Cleanup.
- Removed disposed child nodes
- Don't dispose child node with descendent selection
|
7 years ago |
Steven Kirk
|
2bb23cedc9
|
Merge branch 'feature/selectionmodel' into feature/selectionmodel-changed-notifications
|
7 years ago |
Steven Kirk
|
bd022cca39
|
Clean up when node removed.
|
7 years ago |
Steven Kirk
|
f29a474a16
|
Merge branch 'feature/selectionmodel-reset-handling' into feature/selectionmodel-autoselect
|
7 years ago |
Steven Kirk
|
a705f2b4a3
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
e3d11a8288
|
Fix clearing nested selection not raising SelectionChanged.
|
7 years ago |
Steven Kirk
|
520dc16c2a
|
Added failing test.
Clearing a nested selection doesn't raise `SelectionChanged`.
|
7 years ago |
Steven Kirk
|
8a1e684bbf
|
Merge branch 'feature/selectionmodel-reset-handling' into feature/selectionmodel-autoselect
|
7 years ago |
Steven Kirk
|
79b13b1d4f
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
6dadd96b7b
|
Added ISelectionModel.Update().
|
7 years ago |
Steven Kirk
|
426c670882
|
Added AutoSelect to ISelectionModel.
|
7 years ago |
Steven Kirk
|
fd31157fcb
|
Merge branch 'feature/selectionmodel-reset-handling' into feature/selectionmodel-autoselect
|
7 years ago |
Steven Kirk
|
f416454b5a
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
7829e0cdab
|
Merge branch 'feature/selectionmodel' into feature/selectionmodel-changed-notifications
|
7 years ago |
Steven Kirk
|
c8f0bec40d
|
Added ISelectionModel.
|
7 years ago |
Steven Kirk
|
565de5b2e7
|
Merge branch 'feature/selectionmodel-reset-handling' into feature/selectionmodel-autoselect
|
7 years ago |
Steven Kirk
|
d3888e7e99
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
44cf7f24db
|
Expose API for batch updates.
|
7 years ago |
Steven Kirk
|
0a608d47dc
|
Added SelectionMode.AutoSelect.
|
7 years ago |
Steven Kirk
|
ee459635a8
|
Handle RetainSelectionOnReset w/ null source.
|
7 years ago |
Steven Kirk
|
4dd0ec6e4e
|
Fix bad merge.
|
7 years ago |
Steven Kirk
|
c0f34694a6
|
Fixed out of bounds in SelectionNode.
|
7 years ago |
Steven Kirk
|
031ece5122
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
a5890bda3f
|
Merge branch 'feature/selectionmodel' into feature/selectionmodel-changed-notifications
|
7 years ago |
Steven Kirk
|
4de9fac5c1
|
Don't reset selection if source hasn't changed.
Also remove some `?.` operators that aren't needed.
|
7 years ago |
Steven Kirk
|
ca324775e3
|
Merge branch 'feature/selectionmodel-changed-notifications' into feature/selectionmodel-reset-handling
|
7 years ago |
Steven Kirk
|
04f8516c32
|
Handle null SelectionModel.Source.
|
7 years ago |
Steven Kirk
|
01a1945201
|
Add nullable annotations.
|
7 years ago |
Steven Kirk
|
9073234f72
|
Use SelectedItems for change event args.
|
7 years ago |
Steven Kirk
|
b120e5282e
|
Lazily create the selected/deselected lists.
|
7 years ago |
Steven Kirk
|
859aba1043
|
Refactor of SelectionModel change notifications.
To address issues found.
|
7 years ago |