Wiesław Šoltés
0a7955420f
Fix
4 years ago
Wiesław Šoltés
a901ab38ac
Revert
4 years ago
Wiesław Šoltés
f553c44c84
Use nameof
4 years ago
Wiesław Šoltés
149a51e366
Add IsSelectedChanged property
4 years ago
Wiesław Šoltés
2ee9411830
Fix SelectingItemsControl WrapSelection property owner
4 years ago
Wiesław Šoltés
d2475dd53b
Fix owner of IsTextSearchEnabled property
4 years ago
Steven Kirk
f9dbbb3da1
Make UpdateDataValidation non-generic.
4 years ago
Steven Kirk
f8706278a8
Make OnPropertyChanged non-generic.
4 years ago
Steven Kirk
5763a914fe
Remove generics from IAvaloniaObject.
4 years ago
Yoh Deadfall
55710e8514
Used ToArray where it benefits over ToList
4 years ago
Luis von der Eltz
9f74882797
Don't check child visuals
4 years ago
Luis von der Eltz
23c38a27ba
Include container itself in resolving search property
4 years ago
Luis von der Eltz
5de79b1c3d
Implement TextSearch attached property
4 years ago
Dominik Matijaca
b040ac5414
ItemsControl: WrapSelection ( #6286 )
Add support for selection wrapping for ListBox, ItemsControl, ComboBox.
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
Co-authored-by: Takoooooo <tako0qq@gmail.com>
Co-authored-by: Steven Kirk <grokys@gmail.com>
4 years ago
Dariusz Komosinski
27f920a79d
Fixed ItemContainerGenerator usages.
4 years ago
Steven Kirk
d80cfbca18
Remove #nullable directives.
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Steven Kirk
76667dbd0d
Finished adding nullable annotations to Avalonia.Base.
4 years ago
Dariusz Komosinski
c01c9ae7b6
Disable text search by default. Only ComboBox needs it enabled by default.
5 years ago
Royce551
43083edd2f
Unsubscribe before stopping timer
5 years ago
Miha Markič
97c33f432a
Applies spell checking on mostly comments, but also non public members and arguments
5 years ago
Royce551
975e48d3a2
Move to SelectingItemsControl
5 years ago
Yoh Deadfall
b32cb382fb
Fixed popup positioning issue
5 years ago
aljosas
ede1e2db94
fixing PR for data validation for Combobox control and all SelectingItemsControl
5 years ago
aljosas
899ba64913
fixing data validation for Combobox control and all SelectingItems control #5652
5 years ago
Yoh Deadfall
0a7ca87e3b
HasFlagCustom made safe and supports all enums
6 years ago
Yoh Deadfall
02e6a4ffa5
Fixed nullability issues
6 years ago
Yoh Deadfall
dad0c4d18a
Fixed invalid cast issue if source isn't visual
6 years ago
Yoh Deadfall
3b48238fe0
Removed dead code
6 years ago
Yoh Deadfall
cdb4e90518
Simplified conditions
6 years ago
Yoh Deadfall
feed5103ab
Removed redundant method
6 years ago
Steven Kirk
544686b78d
Don't try to SelectAll with single selection.
`Toggle` doesn't mean multiple selection.
6 years ago
Steven Kirk
293564e704
Off-by-one error.
6 years ago
Steven Kirk
aaeda72aec
Removed unused methods.
6 years ago
Steven Kirk
14f314341e
Fix scrolling to selection.
A few `AutoScrollToSelectedItem` improvements:
- Scroll to current selected item when it's set to true
- Scroll to current selected item when list first displayed
- Scroll to current selected item when attached to visual tree if the selection was changed while it wasn't attached
Fixes #4100
6 years ago
Steven Kirk
9e0c92c630
Raise SelectedItems property changed events.
6 years ago
Steven Kirk
b73ba99077
Reafactor SelectingItemsControl selection.
- Remove `SelectedItemsSync` and store `SelectedItems` in a new `InternalSelectionModel`
- Store transient `SelectingItemsControl` state in an `UpdateState` object
Fixes #4272
6 years ago
Steven Kirk
5ac25a26f4
Tweak raising SelectedIndex/Item property changed.
6 years ago
Steven Kirk
a078974eba
Implement changing selection mode.
6 years ago
Steven Kirk
9c8376348c
Make remaining tests pass.
6 years ago
Steven Kirk
06390d42ee
Restore selection on reset.
6 years ago
Steven Kirk
923fd361e4
Refactor SelectedItemsSync.
6 years ago
Steven Kirk
10b03b15ec
Make restored tests pass.
6 years ago
Steven Kirk
c677fb4b4d
Don't autoselect with no items.
6 years ago
Steven Kirk
81b7b54386
Auto-select when items added.
6 years ago
Steven Kirk
1120820b7e
Implemented SelectionMode.AlwaysSelected.
6 years ago
Steven Kirk
b2a473d286
More integration of new SelectionModel.
6 years ago
Steven Kirk
a9b04a5c2c
Started integrating new SelectionModel.
6 years ago
Steven Kirk
a9f05f22c2
Added #nullable to SelectingItemsControl.
6 years ago
Steven Kirk
95f9a98843
Fixed/skipped failing tests.
6 years ago