Dan Walmsley
c961df9ee1
fix unit for listbox test.
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
6001115573
Use SelectionModel in SelectingItemsControl.
6 years ago
Steven Kirk
886eee831c
Added failing test for #3426 .
6 years ago
Dariusz Komosinski
41ab586d46
Fix unit tests.
6 years ago
Dariusz Komosiński
1e673eca90
Add failing unit test for init issue.
6 years ago
Dariusz Komosinski
c6fceb8454
Verify that removing items raises events as well.
6 years ago
Benedikt Schroeder
e2ff454085
Add failing tests
6 years ago
Steven Kirk
0a8915b1cc
Added failing test for #3148
7 years ago
Andrey Kunchev
389d58f550
issue #3089 add failing tests
7 years ago
Steven Kirk
e1bfdf0324
Added failing test for #3094 .
7 years ago
Steven Kirk
8093716a36
Added tests for selection after initialization.
7 years ago
Benedikt Schroeder
9a6cda66bc
Add failing test for #2987
7 years ago
Steven Kirk
33cf418779
Added failing test for #2969 .
7 years ago
Steven Kirk
6f44dfac5b
Added unit test for #2952 .
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
94d71fb12f
More work on updating selection...
...when source items change.
7 years ago
Steven Kirk
ca23d03f98
Update SelectedIndex when items removed before selection.
7 years ago
Steven Kirk
f58f8950bd
Added failing test for #2574 .
7 years ago
Steven Kirk
2e9fbe238b
Refactor selection in SelectingItemsControl.
Instead of using `SelectedItems` as the canonical source of selection information, use an internal `Selection` class which keeps track of the selection in terms of item indexes.
Fixes #2004
7 years ago
FoggyFinder
996eda9fb7
set defaultBindingMode as TwoWay for SelectedIndex
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Steven Kirk
c37f2b2fbc
Added failing test for #2522 .
7 years ago
Steven Kirk
131a4d90ef
Remove Avalonia.ISupportInitialize.
This is a relic from when we were targeting a PCL profile that didn't have `System.ComponentModel.ISupportInitialize`. Now that we have that, use it instead.
7 years ago
Steven Kirk
1df826281b
Added failing test for #1932 .
8 years ago
wojciech krysiak
03e8594451
Bug reproduction unit test
8 years ago
Dan Walmsley
ee55b4fa3d
bug is in selecting items control. add failing unit test.
8 years ago
Jeremy Koritzinsky
72708cae67
Fix namespace build break.
8 years ago
Jeremy Koritzinsky
cf8244b37a
Move current contents of Avalonia.Markup to Avalonia.Base. Move Avalonia.Markup.Xaml.Data/Parser classes to Avalonia.Markup since they're not Xaml-specific.
Use pattern-matching switch.
Fix bug from cleanup.
8 years ago
José Pedro
cc7098583e
Fixed Assert.Null warnings.
9 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
d8cf474274
Clear TabOnceActiveElement on removed container.
10 years ago
Steven Kirk
004ed96de5
Prevent nested selection changing parent selection.
Added previously failing
Nested_ListBox_Does_Not_Change_Parent_SelectedIndex test to check it.
10 years ago
Steven Kirk
f7f4f6492c
Fix #500 .
When updating DataContext, defer changes to SelectedIndex/Items until
after DataContext has finished changing. Use the same method between
BeginInit and EndInit meaning that [DependsOn] is no longer needed.
10 years ago
Steven Kirk
8cccc84609
Added (failing) init test for SelectingItemsControl.
10 years ago
Steven Kirk
4c8384db5f
Failing unit test for issue #500 .
10 years ago
Steven Kirk
c49201b8cb
Added SelectingItemsControl.SelectionChanged event.
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
01417ba883
Renamed ControlTemplate -> FuncControlTemplate
11 years ago
Steven Kirk
c0dff57a78
Make SelectedItems bindable.
And to avoid confusion removed SelectedIndexes.
11 years ago
Steven Kirk
b2d40e77c3
Started implementing multiple selection.
11 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
c5020d38ee
Remove RoutedEventArgs.OriginalSource.
Still not entirely sure what it's purpose is in WPF.
11 years ago
Steven Kirk
d161428f52
Pass navigation method in GotFocus event.
And only focus selectable items when focus comes from the pointer, or
directional keys.
11 years ago