Max Katz
bc6d5ec87d
Add tests
4 years ago
Dan Walmsley
2a4830bf5b
fix tests.
5 years ago
Steven Kirk
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
Max Katz
9e2d104739
Add more tests
5 years ago
Max Katz
18812a217f
Fix ContextMenu tests
5 years ago
Max Katz
72c975ac0b
Use ContextRequested event to show ContextMenu
5 years ago
Andrey Kunchev
a01fb157e4
add some tests for contextmenu open without params
5 years ago
Steven Kirk
ea90f05f83
Added Window.ShowActive for win32.
5 years ago
Dan Walmsley
08c451c676
add a failing unit test.
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Nikita Tsukanov
d355007c57
Extracted runtime XAML loader to a separate package
6 years ago
Steven Kirk
af950096cc
Added failing test for #3784 .
Had to refactor the `MockWindowingPlatform` a bit.
6 years ago
Steven Kirk
9fa1ab9282
Add failing tests for shared context menus.
Tests for #497 .
6 years ago
Steven Kirk
bc36330bc0
Added failing ContextMenu test.
Due to NRE introduced in #3745 .
6 years ago
Dan Walmsley
2282c99c16
add dpi information to screens api.
7 years ago
Steven Kirk
d7357ec876
Remove ContentControlMixin.
And implement the functionality in the content controls themselves. `ContentControlMixin` was too complex and even with its complexity had bugs (such as in #2821 ). By moving the functionality to the content controls there is some repeated code but it's much more straightforward.
7 years ago
Nikita Tsukanov
fafd27243f
Fixed tests
7 years ago
Nikita Tsukanov
8e5c8fee07
Somewhat fixed tests
7 years ago
Dariusz Komosinski
3c787b3d4d
Fix events for ContextMenu and Popup.
7 years ago
Nikita Tsukanov
b33601ee9b
Refactored lifetime control into separate lifetime classes
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Dan Walmsley
7d28d1b2ab
fix failing unit test.
8 years ago
WojciechKrysiak
ec57b63908
Implemented cancelling ContextMenu opening/closing. ( #1781 )
8 years ago