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
FoggyFinder
44d467ba98
fix and test
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
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
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
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
ahopper
8a9e997c6c
unit test added
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
Steven Kirk
c37f2b2fbc
Added failing test for #2522 .
7 years ago
Steven Kirk
92284afa14
Added failing test for #2507 .
7 years ago
Steven Kirk
5745b72222
Started refactoring CarouselPresenter.
Make it react correctly to changes in the source collection. Fixes #2432 .
7 years ago
Steven Kirk
d19f159932
Added failing tests for #2432 .
7 years ago
Steven Kirk
f8cf268f0e
Added unit test for toplevel menu close.
Added unit test for previous commit, and also tweaked code a little bit to use `IsTopLevel` instead of trying to cast the parent menu item.
7 years ago
Benedikt Schroeder
fa04a50f85
Remove non working test
7 years ago
Benedikt Schroeder
a14435f59f
Fix unit tests
7 years ago
Benedikt Schroeder
21eda0db12
Revert removal of Application.Initialize
7 years ago
Steven Kirk
1e74e8fc60
Add failing tests for #2388 .
7 years ago
Benedikt Schroeder
7e04215897
No longer set first window opened as MainWindow
7 years ago
Benedikt Schroeder
5557829950
Initial
7 years ago
Michael Bosschert
c23fdc92de
Added unittests for the Select All option of the TreeView.
7 years ago
Steven Kirk
86f7918d4d
Added failing tests for #2350 .
7 years ago
Steven Kirk
a48efd6b55
Don't leak subs to CanExecuteChanged in MenuItem.
7 years ago
Steven Kirk
7363f7140b
Don't leak subs to CanExecuteChanged in Button.
7 years ago
Steven Kirk
a7b8e37e3b
Renamed DropDownTests -> ComboBoxTests.
7 years ago
Steven Kirk
53b71076d6
DropDown -> ComboBox.
Renamed `DropDown` to `ComboBox` to fit in with WPF/UWP.
7 years ago
MonkAlex
235cc660fd
#1052 Rename TreeContainerIndex.Items to Containers
7 years ago
Dariusz Komosinski
2c04c95a12
Expose SelectedItems property. Add more tests for edge cases failing for ListBox.
7 years ago
Dariusz Komosinski
85d309830a
TreeView multiple selection support.
7 years ago
Steven Kirk
1d8bf77ab1
Added failing test for #2335 .
7 years ago