Max Katz
596f876868
Use PlatformHotkeyConfiguration.Instance instead of locator
3 years ago
Steven Kirk
0cb590e03b
Remove now-unnecessary casts.
3 years ago
Steven Kirk
9d16e33843
Started refactoring ListBox selection.
- Don't make selection follow focus
- Move all keyboard interaction into `ListBox`
- Move all pointer interaction into `ListBoxItem`
- Added `ItemsControl.ItemsControlFromItemContaner` as in WPF
3 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
3 years ago
Max Katz
39f232dcff
Remove public setter where possible on events or replace with "init;"
3 years ago
Emmanuel Hansen
f61c7f6cd9
Revert "fix tests"
This reverts commit 584e18f78d29480890711b1149d946f61e0d8447.
3 years ago
Emmanuel Hansen
c804fa00cf
fix tests
3 years ago
Steven Kirk
692c0c155d
Begin refactoring ItemsPresenter.
A lot still broken, in particular virtualization is completely removed.`ItemsPresenter` now no longer has an `Items` or `ItemTemplate` property; it detects when it's hosted in an `ItemsControl`. `IItemsPresenter` interface removed.
3 years ago
Steven Kirk
6f03f1c3d6
Removed ITemplatedControl.
3 years ago
Giuseppe Lippolis
de4b55f8ee
feat(tests): Address rule CA1822
3 years ago
Emmanuel Hansen
89f031574b
Add tests
4 years ago
Takoooooo
fe79cee672
Fix Tests.
4 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
41e9999ae7
Move MouseTestHelper to Avalonia.UnitTests.
7 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
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
Jeremy Koritzinsky
ca9a4c4128
PR Feedback.
8 years ago
donandren
220a987467
issue #855 unit test
9 years ago
Steven Kirk
1b4ebf5b1d
Renamed AsBinding -> ToBinding.
10 years ago
Steven Kirk
3ee83263c8
Make indexer produce/consume IBinding.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
10 years ago
Steven Kirk
a03dad9bab
Removed a bunch of unused members/classes.
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
71cd3d965b
More work on XAML control theme.
11 years ago
Steven Kirk
01417ba883
Renamed ControlTemplate -> FuncControlTemplate
11 years ago
Steven Kirk
49e2e3ec86
Fixed problem in toggle mode with single selection.
11 years ago
Steven Kirk
b2d40e77c3
Started implementing multiple selection.
11 years ago