Jumar Macato
ec670c4048
Merge pull request #3326 from AvaloniaUI/fixes/3321-item-virtualizer-clamp
Fix ItemsPresenter crash
6 years ago
danwalmsley
080059ff6d
Merge pull request #3227 from AvaloniaUI/fix-listbox-template-init-order
set Scroll before calling base.OnTemplateApplied.
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
7 years ago
Andrey Kunchev
be8d4516b9
unit test for Listbox OutOfRangeException issue #1395
7 years ago
Steven Kirk
6efba9837d
Simplified test.
Simplified @donandren's test for #1936 .
7 years ago
Andrey Kunchev
a865f6dddf
introduce local functions for listbox issue #1936
7 years ago
Andrey Kunchev
b53b3d590f
add failing unit test for listbox issue #1936
7 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.
9 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
Steven Kirk
4845dfd0fa
Added IContentPresenterHost.
Similarly to how we now have IItemsPresenterHost.
10 years ago
Steven Kirk
c810f95904
Don't ApplyTemplate on nested templated controls...
...during ApplyTemplate. This was so that ItemsControls could their find
ItemsPresenters nested in other templated controls. Instead use
IItemsPresenterHost to make the presenter register itself with its
TemplatedParent.
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
10 years ago
Steven Kirk
71cd3d965b
More work on XAML control theme.
10 years ago
Steven Kirk
01417ba883
Renamed ControlTemplate -> FuncControlTemplate
10 years ago
Steven Kirk
c0dff57a78
Make SelectedItems bindable.
And to avoid confusion removed SelectedIndexes.
10 years ago
Steven Kirk
b2d40e77c3
Started implementing multiple selection.
10 years ago
Steven Kirk
d1ae3ba50b
Fix ListBox item DataContexts.
10 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
d11d779414
Trying to fix capitalization of tests and docs AGAIN.
11 years ago
Steven Kirk
1a2fba4798
Revert "Fixed casing of Docs and Tests directories."
This reverts commit 845b28a2c2 .
11 years ago
Steven Kirk
845b28a2c2
Fixed casing of Docs and Tests directories.
11 years ago
Steven Kirk
c0fc38358f
Refactored templates a bit.
Added interfaces, moved them to Controls.Templates namespace and added
base classes for common Func<> templates.
11 years ago
Steven Kirk
254eaac9fa
Stylecop fixes.
11 years ago
Steven Kirk
e3533d720b
Fix ListBox selection.
And add a unit test for it.
11 years ago
Steven Kirk
ba8552cb81
Renamed Id to Name.
No reason to be different for the sake of it.
11 years ago