Andrey Kunchev
d4840a55bc
add failing test for #8669
4 years ago
Steven Kirk
f57c0ffbec
Added ItemContainerTheme property.
Otherwise there's no easy way to apply themes to item containers.
4 years ago
Steven Kirk
05c1f58308
Added ItemContainerTheme property.
Otherwise there's no easy way to apply themes to item containers.
4 years ago
Benedikt Stebner
1db3296611
Fix TextBlock/TextPresenter measure/arrange
Fix TextTrimming for small width
Fix text splitting
Fix text editing shortcuts
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
Steven Kirk
f9a6f5b1ec
Create failing test for SelectedItems binding.
5 years ago
aljosas
2a185da639
removing Dispatcher.UIThread.RunJobs() from tests
5 years ago
aljosas
1c61a5c1c5
fixed failed test
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
Steven Kirk
3518f19b2a
Revert "ItemsControl+ItemVirtualizerSimple don not recreate containers when Items or ItemTemplate are replaced"
5 years ago
adospace
13cd835bc0
ItemsControl+ItemVirtualizerSimple did not recreated item containers when Items or ItemTemplate were replaced
5 years ago
Andrey Kunchev
d631474ddf
add failing test for autoscroll to selected item in listbox #4855
6 years ago
Steven Kirk
923fd361e4
Refactor SelectedItemsSync.
6 years ago
Steven Kirk
af90219ff4
Reverted SelectionModel.
6 years ago
Steven Kirk
d3c3741bec
No longer need to pass root to ExecuteInitialLayoutPass.
6 years ago
Steven Kirk
8e29811c91
Added failing test for #3934 .
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Steven Kirk
ce5f884e08
Added failing test for #3321 .
6 years ago
Dan Walmsley
ca60f9e70d
add unit test
6 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Andrey Kunchev
48ad6babda
improve test
7 years ago
Andrey Kunchev
870a2f365f
layoutmanager/listbox/vistualization/scroll issue unit test
7 years ago
Andrey Kunchev
bb8549ef94
listbox toggle selection not working unit test #1971
8 years ago
Andrey Kunchev
be8d4516b9
unit test for Listbox OutOfRangeException issue #1395
8 years ago
Steven Kirk
6efba9837d
Simplified test.
Simplified @donandren's test for #1936 .
8 years ago
Andrey Kunchev
a865f6dddf
introduce local functions for listbox issue #1936
8 years ago
Andrey Kunchev
b53b3d590f
add failing unit test for listbox issue #1936
8 years ago
Steven Kirk
22bda08a90
Lazily initialize DataTemplates.
Added an `IDataTemplateHost` interface with a `IsDataTemplatesInitialized` property to prevent the need for allocating empty `DataTemplates` collections for many controls.
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Steven Kirk
44f6d12157
Add failing test for #834 .
9 years ago
Steven Kirk
1b4ebf5b1d
Renamed AsBinding -> ToBinding.
10 years ago
Steven Kirk
209713e820
Moved tests to correct place.
@donandren correctly identified a problem with the `ItemsPresenter` but
he put the tests in the `ListBox` tests. Moved them to the correct
place. Also tweak formatting in `ItemContainerGenerator.InsertSpace`.
10 years ago
donandren
a3552bc20a
added another failing unit test for Listbox items not in sync with the bound collection
10 years ago
donandren
f764d46674
added failing unit test for issue #637 : ListBox not in sync with items after inserted/removed from items
10 years ago
Steven Kirk
0bf9404e00
Deafult ItemsPresenter virtualization to None
And override it in ListBox. This prevents ItemsPresenter thinking it's virtualized in a TreeView. Fixes #610 .
10 years ago
Steven Kirk
6eaa5b74dc
Test has been refactored into 2 tests.
Removed test that has been refactored into 2 separate tests. Thanks
@donandren for finding those bugs!
10 years ago
Steven Kirk
3ee83263c8
Make indexer produce/consume IBinding.
10 years ago
donandren
cfd6524031
added failing unit test for issue #589 and #591
10 years ago
Steven Kirk
5a72ed8586
Don't add virt items when attached to visual tree.
Don't add virtualized items before the virtualizing panel is attached to
the visual tree, as bindings etc won't be set and so measurement will
produce 0,0 causing all items to be materialized.
10 years ago
Steven Kirk
f660da41c7
Fix virtualized list to taking up available space.
Previous commit was slightly wrong: too many controls were being created
for the list in VirtualizingTest.
10 years ago
Steven Kirk
2c8d8179e5
Fix virtualized item selection.
So that recycled items' selection state is set correctly.
10 years ago
Steven Kirk
2d5a41a729
Update ListBoxTests
Now ListBox is virtualized it needs more setup for unit testing.
10 years ago
Steven Kirk
cfdfa9400e
Simplify ListBox unit test template creation.
10 years ago
Steven Kirk
5cd9b98057
Added ItemsControl.ItemTemplate property.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
d8cf474274
Clear TabOnceActiveElement on removed container.
10 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
10 years ago