Steven Kirk
1c85f409b3
Set SelectedIndex/Item on (Un)SelectAll().
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
Nikita Tsukanov
d1f2b941fb
Apply template before touching the textbox
7 years ago
Nikita Tsukanov
76f9c8fdc5
Removed legacy XAML loader
7 years ago
Nikita Tsukanov
57e061366e
Use AvaloniaProperty<T> in test class
7 years ago
Nikita Tsukanov
86a48cf7d5
Fixed #2561
7 years ago
FoggyFinder
44d467ba98
fix and test
7 years ago
Nikita Tsukanov
bcd98ecfa6
Updated XamlIl
7 years ago
FoggyFinder
996eda9fb7
set defaultBindingMode as TwoWay for SelectedIndex
7 years ago
Jumar Macato
34a94cc782
Fix unit tests and transfer back to GridTests.cs
7 years ago
Jumar Macato
7c222a4f69
Uncomment a disabled unit-test.
7 years ago
Jumar Macato
4337e22c7c
Update GridMultiTests
7 years ago
Jumar Macato
15f06a09a7
Add some tests
7 years ago
Jumar Macato
ec891d8e8b
Added tests from WpfGridTests, Special thanks to @wieslawsoltes 🎉
7 years ago
Nikita Tsukanov
551ce9b058
Fixed capture transfer for removed controls
7 years ago
Nikita Tsukanov
2858eba77d
MouseTestHelper should also auto-captrure the target
7 years ago
Jumar Macato
adbd42ed2d
Trigger OnEnter/EnterParentTree on DefBase.
7 years ago
Nikita Tsukanov
b387c38c84
Implemented simple inertial scroll
7 years ago
Nikita Tsukanov
daf7231281
Move pointer mock to the bottom
7 years ago
Nikita Tsukanov
4c1f42b48a
PR comments
7 years ago
Nikita Tsukanov
a0f6adbd72
Updated GestureTests
7 years ago
artyom
f0574cbf1a
Use PageTransition, fix possible bug with CrossFade
7 years ago
artyom
6360de1921
Derive transitioning control from ContentControl
7 years ago
Nikita Tsukanov
6827179476
Implemented TouchDevice and touch input support for X11 backend
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Dan Walmsley
1fd30a91c3
add a unit test for gestures not being raised when parent handles event.
7 years ago
Jumar Macato
c70ffb564b
Restore unit tests part 2
7 years ago
Jumar Macato
d97835ee62
Add SharedSizeScope tests from #1945
Fix IsSharedSizeScope/PrivateSharedSizeScope so that it can be
set on non-`Grid` controls.
7 years ago
Jumar Macato
52c562bffd
Remove old Grid classes.
7 years ago
Jumar Macato
973e82386e
Disable Shared Size Tests pt. 2
7 years ago
Jumar Macato
49bcea0e33
Disable SharedSize tests for now.
7 years ago
Steven Kirk
347a4eb0a1
Don't fix size of TestContainer.
Instead let its size come from the data displayed by it (as would happen in the real world).
7 years ago
Steven Kirk
5853723e5b
Remove the WithContainers concept...
...from the `ItemsPresenter` virtualization tests. All tests were setting it to `true` anyway.
7 years ago
artyom
8a2d1662fd
Remove LazyT, test new template resolver
7 years ago
artyom
65f5f58a07
ViewModelViewHost type resolution assertion
7 years ago
artyom
fe7e7054fb
Add initial AutoDataTemplateBindingHook implementation
7 years ago
artyom
e8c0012c31
Unit tests for ReactiveWindow and ReactiveUserControl
7 years ago
artyom
724a5da896
Add license headers
7 years ago
artyom
97b44c02d2
Add a unit test for ViewModelViewHost
7 years ago
Nikita Tsukanov
dd85f48c43
Update target and declaring types for properties of the root object with x:Class, fixes #2520
7 years ago
Nikita Tsukanov
67ea597d82
Properly pass root object instance to templates, fixes #2147 #2527
7 years ago
ahopper
8a9e997c6c
unit test added
7 years ago
Steven Kirk
2fcad75a6b
Added failing test for #2535 .
7 years ago
Steven Kirk
7cdaeac441
Make Rect.Deflate consistent with Rect.Inflate.
`Rect.Deflate` was halving the thickness passed into it whereas `Rect.Inflate` wasn't. Make both methods consistent and _not_ halve the thickness.
7 years ago
Steven Kirk
9d99cf699a
Remove test that is no longer true.
`UserControl`s should no longer be added to parent namescope.
7 years ago
Steven Kirk
38d68865fd
Correctly handle command.CanExecute state.
Added a new `IsEnabledCore` property to `InputElement` which is overridden in `Button` and `MenuItem` to override the `IsEffectivelyEnabled` state with the enabled state of the command.
Also add data validation of the `Command` property to `MenuItem` to make it behave the same as `Button` when `Command` is bound to a non-existent property.
Fixes #2501
7 years ago
Steven Kirk
e6be9b7c5a
Renamed IsEnabledCore -> IsEffectivelyEnabled.
I now understand how WPF's `IsEnabledCore` works, and it's not like this. Rename `IsEnabledCore` to `IsEffectivelyEnabled` so that we can add a new `IsEnabledCore` property which works like WPF's.
This also aligns with the existing `IsEffectivelyVisible` property.
7 years ago
Steven Kirk
e123a737cc
Added failing tests for #2501
7 years ago
Jumar Macato
066f608ca2
Rename to plural form.
7 years ago