Dan Walmsley
0ddc444d2c
Rename eventargs class.
5 years ago
Dan Walmsley
2a4830bf5b
fix tests.
5 years ago
Dan Walmsley
c9458e5be8
use a ShutdownRequestedEventArgs class to future proof the event args.
5 years ago
Dariusz Komosinski
c598b3883a
Add unit test that verifies ordering.
5 years ago
Steven Kirk
ba369a9059
Fix auto-scaling on win32.
- Adds a "resize reason" to platform `Resized` events
- Which is used by the auto-sizing code to determine whether to reset `SizeToContent`
- Also other improvements to the reset logic for `SizeToContent`:
- Don't reset it if the size hasn't changed
- Don't reset it if `CanResize == false`
- Only reset the dimensions whose size has changed
- Obsolete the `BeginAutoSizing`/`AutoSizing` feature in `WindowBase`
5 years ago
Steven Kirk
911262bf3f
Correctly handle long-form bindings with empty path.
5 years ago
Steven Kirk
551380e71d
Added failing test for #4392 .
5 years ago
Steven Kirk
298dd4e299
Added ShutdownRequested to IClassicDesktopStyleApplicationLifetime.
5 years ago
Dariusz Komosinski
cca1d4abc4
Fix even more tests.
5 years ago
Dariusz Komosinski
e55c11ec37
Fix unit tests.
5 years ago
Benedikt Stebner
a55a6ec1ff
Fix RightToLeft TextWrapping
5 years ago
Dan Walmsley
b250fce59c
rename test to describe the actual issue.
5 years ago
Dan Walmsley
a295cac930
test more keys.
5 years ago
Dan Walmsley
73aaefcc32
add a failing unit test to demonstrate the issue.
5 years ago
Dan Walmsley
ac45578575
initial attempt at unit test
5 years ago
Steven Kirk
a42334d128
Hide child windows when hiding parent/owner.
5 years ago
Steven Kirk
15cdee1bee
Ensure parent/owner windows are visible when showing child.
5 years ago
Steven Kirk
69852a56f5
Don't allow self as parent/owner window.
5 years ago
Steven Kirk
ea3f85e126
Don't allow using a closed window as a parent/owner.
5 years ago
Steven Kirk
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
Giuseppe Lippolis
83c141172f
feat(tests): Add test to check closing window on Alt+F4 KeyDown when ComboBox is focused
5 years ago
Giuseppe Lippolis
b4e11b227d
fixes: code documentation
5 years ago
Max Katz
e44256b5dd
Skip failing tests, issue created
5 years ago
Max Katz
04d3ce168e
Add failing test
5 years ago
Max Katz
a49ba4b0e3
Add tests
5 years ago
Max Katz
9e2d104739
Add more tests
5 years ago
Max Katz
18812a217f
Fix ContextMenu tests
5 years ago
Max Katz
800788be20
Use ContextRequested event to show ContextFlyout + some refactoring of FlyoutBase
5 years ago
Max Katz
72c975ac0b
Use ContextRequested event to show ContextMenu
5 years ago
Nathan Garside
bccbf0570c
Make FrameSize nullable
5 years ago
Nathan Garside
d77d1fd5da
Rename to FrameSize
5 years ago
Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Steven Kirk
82754cb163
Fixed gradient brush target rectangles.
When drawn via the `DrawingContext` gradient brushes were not taking the origin of the target rect into account, only the size.
Fixes #5947 .
5 years ago
Steven Kirk
a11270b07e
Add a sanity check to the test.
5 years ago
Steven Kirk
6b94cc4ed9
Added failing test for #5054 .
5 years ago
Steven Kirk
31d9b5b13a
Fix a couple of tests that only fail in debug mode.
Introduced in #6039 due to use of `Debug.Assert`.
5 years ago
Steven Kirk
7d608a33ee
Implemented ImageDrawing.
5 years ago
Steven Kirk
91ef212434
Added a couple of TabIndex tests.
5 years ago
Dariusz Komosinski
a21880d4a8
Remove old implementation benchmark.
5 years ago
Dariusz Komosinski
f2e93ecb87
Optimize shape rendering (pen creation mostly).
5 years ago
Steven Kirk
ec51318315
Make custom keyboard navigation work again.
5 years ago
Steven Kirk
4684237331
Ported tab navigation code from WPF.
5 years ago
Dariusz Komosinski
21b7b88b0f
Cleanup and refactor leftover transition types.
5 years ago
Dariusz Komosinski
5765007ecd
Avoid closures and extra allocations caused by transition observables.
5 years ago
Benedikt Stebner
43beabc9b4
Add a unit test
5 years ago
mat1jaczyyy
5f4a338c18
ICustomHitTest renderer tests
5 years ago
Dariusz Komosinski
b3e2b05d1f
Implement StretchDirection for Viewbox. Cleanup Viewbox.
5 years ago
Steven Kirk
73556f8a42
Added failing DrawingContextImpl tests.
Skia `DrawingContextImpl` throws a NRE when passed a pen with 0 thickness.
5 years ago
Max Katz
77361a069f
Theme loading benchmark
5 years ago
Benedikt Stebner
96df38c88e
Add failing unit test
5 years ago