Dan Walmsley
b2723d84be
Revert "try and catch issue with test."
This reverts commit 1d6fb2d960 .
4 years ago
Dan Walmsley
1d6fb2d960
try and catch issue with test.
4 years ago
Tom Edwards
81530c4231
Converted a variety of writeable DirectProperty definitions to StyledProperty
4 years ago
Julien Lebosquain
3791fa8a51
Don't add ItemsControl items to its panel logical children
4 years ago
Steven Kirk
d7b6a8e97a
Added failing test for #10398 .
4 years ago
Steven Kirk
f745fe1788
Use simpler event args type.
The `PointerEnteredItem` and `PointerExitedItem` were using an obsolete API to create the event args. We don't need a `PointerEventArgs` anyway, just use `RoutedEventArgs`.
4 years ago
Steven Kirk
f87148dbbc
Add failing unit test for #10420 .
4 years ago
Steven Kirk
b92134c682
Added failing test for #10246 .
4 years ago
Steven Kirk
68074ce4b1
Added failing ScrollViewer test.
4 years ago
Steven Kirk
b285b88b8e
Added some failing virtualization tests.
4 years ago
Julien Lebosquain
97aa613bba
Prevent null Panel children
4 years ago
Julien Lebosquain
7eda49e061
Ensure IRenderRoot.Renderer is never null
4 years ago
amwx
b9c666e193
Add Tests
4 years ago
Julien Lebosquain
5e13c5b59a
Implemented layout and render time graph overlays
4 years ago
Steven Kirk
0065a962ac
Move ItemsRepeater to separate assembly.
4 years ago
rabbitism
9ca156d6a6
fix: fix RadioButton empty GroupName behavior.
4 years ago
Max Katz
39f232dcff
Remove public setter where possible on events or replace with "init;"
4 years ago
Dmitry Zhelnin
65d8e46fa6
VirtualizingStackPanel: fix selection wrapping
4 years ago
Benedikt Stebner
07c11c75e7
Use IGlyphRunImpl in the IDrawingContextImpl
4 years ago
Steven Kirk
649e4fc57e
Add failing test for #9997 .
And a passing test for `nth-child` selector.
4 years ago
Julien Lebosquain
dec8c1c586
Used Memory/Span instead of CharacterBufferReference/Range
+ GlyphRun uses ReadOnlyMemory for characters
4 years ago
Steven Kirk
d0f479d80c
Don't recycle focused element.
Fixes #9269
4 years ago
Steven Kirk
a9fd9f4474
A few more tests.
Trying to get a repro for an issue seen with DataBox but so far unable to repro in a unit test. Anyway, these tests should be useful.
4 years ago
Simon Cropp
16ffe2f6f9
use default literal
4 years ago
Simon Cropp
fb37ab1e77
leverage GetRequiredService
4 years ago
Simon Cropp
dba476c11c
fix more typos
4 years ago
Simon
876fa08812
move to a consistent langversion of 11
4 years ago
daniel
21f6307c37
again
4 years ago
daniel
5f5f5ebc9b
try fix tests
4 years ago
daniel
4780567438
Don't reomve old content from logicaltree
4 years ago
Emmanuel Hansen
f61c7f6cd9
Revert "fix tests"
This reverts commit 584e18f78d29480890711b1149d946f61e0d8447.
4 years ago
Emmanuel Hansen
c804fa00cf
fix tests
4 years ago
Max Katz
8a78f134c5
Remove JetBrains.Annotations from the repo
4 years ago
Steven Kirk
fdc4a4c497
Added WindowClosingEventArgs.
Fixes #9524 .
4 years ago
Steven Kirk
58b404a3ab
Added failing test for #7974 .
4 years ago
Steven Kirk
17f7541fdd
Fix selection in combination with move.
4 years ago
Steven Kirk
039fb905ad
Handle item move and replace.
4 years ago
Steven Kirk
c55b7a9000
Correctly handle control items being removed.
4 years ago
Steven Kirk
9781a13256
Remove Smooth suffix.
`VirtualizingStackPanel` only does smooth scrolling now.
4 years ago
Steven Kirk
518391b37d
Make ItemsSourceView ctors private.
So in future we could have different `ItemSourceView` concrete implementations that e.g. have an inner `IReadOnlyList<T>` in order to address #8764 .
4 years ago
Steven Kirk
f0c89a614e
Reimplemented Carousel.
Only `VirtualizingCarouselPanel` currently implemented.
4 years ago
Benedikt Stebner
895d85aa89
Implement CharacterBufferReference and related classes
4 years ago
Steven Kirk
c99307c6fa
Use more consistent naming.
4 years ago
Steven Kirk
6f04196b84
Made TreeView work again and tests pass.
4 years ago
Steven Kirk
a7a71034b0
Remove unneeded tests.
4 years ago
Steven Kirk
000f393be7
Refresh containers when relevant property changes.
When `ItemsControl.DisplayMemberBinding` or `ItemTemplate` changes, refresh the containers.
4 years ago
Steven Kirk
004103a925
Reimplement DisplayMemberBinding.
Use a slightly different approach to the one that was previously there: create an item template that contains `DisplayMemberBinding`. This is the approach that WPF broadly uses too.
4 years ago
Steven Kirk
7e1068f441
Fix test.
4 years ago
Steven Kirk
c1ee26c05a
Fixed SelectingItemsControlTests.
`ListBox` now needs a root as it uses a `VirtualizingStackPanel`.
4 years ago
Steven Kirk
fab8f15213
Make a few more tests pass.
4 years ago