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 .
7 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.
8 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
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
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
Steven Kirk
3492bd617f
Added SelectingItemsControl.AutoSelect.
11 years ago
Steven Kirk
ff331693f0
Started refactoring SelectingItemsControl.
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
09ef0309b1
Added validation/coercion to RangeBase properties.
11 years ago
Steven Kirk
b740d95e15
Don't try to select items that don't belong to you.
This was breaking DevTools.
11 years ago
Steven Kirk
4f98bb5476
Make changing selecting in item work.
Make SelectingItemsControl listen for IsSelectedChangedEvents from child
items and update its selection accordingly.
11 years ago
Steven Kirk
43e80392df
Started adding keyboard accessibility to Menu.
Still quite a lot to do.
11 years ago
Steven Kirk
ba8552cb81
Renamed Id to Name.
No reason to be different for the sake of it.
11 years ago
Steven Kirk
d591f0691e
Added Deck control.
11 years ago
Steven Kirk
fbd33a2163
Ensure IsSelected set on ApplyTemplate.
11 years ago
Steven Kirk
d27205716a
Handle deselecting removed items...
in SelectingItemsControl.
11 years ago
Steven Kirk
5600ee32a4
Handle null Items in SelectingItemsControl.
11 years ago
Steven Kirk
41e434e13b
Added SelectedItemsControl.SelectedIndex
11 years ago