Steven Kirk
7dbe277653
More lifecycle event tests with virtualization.
4 years ago
Steven Kirk
9d012fbb6b
Fix terminology.
4 years ago
Steven Kirk
ce2cd52964
Add lifecycle event tests with virtualization.
And fix index error in VirtualizingStackPanel.
4 years ago
Steven Kirk
791ea8beef
Added container lifecycle events.
Seems we weren't calling `ClearItemContainer` for `ItemIsOwnContainer` items in `PanelContainerGenerator`. Fixed that too.
4 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
4 years ago
robloo
cc7656eecb
Rename ContextMenu.PlacementMode to ContextMenu.Placement
4 years ago
robloo
2eb04c2719
Rename Popup.PlacementMode to Popup.Placement
4 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
4 years ago
Steven Kirk
183fed8985
Add more tests.
One failing.
4 years ago
Steven Kirk
9856711494
Don't modify logical tree in ItemsSource mode.
4 years ago
Steven Kirk
ba7e8a20b5
Added ItemsControl.ItemsSource.
`ItemsControl` now works more like WPF, in that there are separate `Items` and `ItemsSource` properties. For backwards compatibility `Items` can still be set, though the setter is deprecated. `Items` needed to be changed from `IEnumerable` to `IList` though.
4 years ago
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
Benedikt Stebner
0fc25da0dc
[TextBox] MoveEnd now correctly positions the caret before the line break
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