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
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
Steven Kirk
ea90f05f83
Added Window.ShowActive for win32.
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Dan Walmsley
42cb926e92
indicate if managed decorations are needed via platform.
6 years ago
Dan Walmsley
72e24625a0
Stubs for TitleBarHeight Hint.
6 years ago
Dan Walmsley
73d5025448
Add a readonly offscreen margin, to get the portion of the window that is offscreen.
6 years ago
Dan Walmsley
37e4e68b9d
add hints for further control over chrome.
6 years ago
Dan Walmsley
aea6f7bff9
Revert "use thickness as the ExtendClientArea hint."
This reverts commit 42673554085035e8a8a3435bc623ceb29f72e4db.
6 years ago
Dan Walmsley
68e8541f75
use thickness as the ExtendClientArea hint.
6 years ago
Dan Walmsley
1168dd186d
add client area extending api to window.
6 years ago
Dan Walmsley
86ac0ff5a5
OSX implement SetParent
6 years ago
Dan Walmsley
313a292fc4
extend api so that when a parent is set you can state if the current window becomes modal.
6 years ago
Dan Walmsley
e1c1775e71
stubs
6 years ago
Nikita Tsukanov
636c6800cf
Merged LostFocus to ITopLevelImpl
6 years ago
Steven Kirk
95735d239b
Measure Window to MaxAutoSizeHint.
- Renamed `MaxClientSize` to `MaxAutoSizeHint`
- On Windows get its value from `WM_GETMINMAXINFO` message
- Remove `ILayoutRoot.MaxClientSize` as it's not used any more
6 years ago
Nathan Garside
7b9d32af85
Rework system decorations
6 years ago
Jumar Macato
88446b1e9e
Pass PointerPressed event to BeginModeDrag and BeginResizeDrag.
7 years ago
Nikita Tsukanov
9343ba4c23
Wired up the popup positioner
Tests are failing because they are trying create popups out of a thin air
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
Nikita Tsukanov
5cd7c1f6f4
Reworked dialogs for GTK/Win32
8 years ago
Jeremy Koritzinsky
38de22cf75
Add empty event implementations for unused events.
8 years ago
CommonGuy
0af6dd2c0a
Implement topmost on window
8 years ago
José Pedro
2af15cbee4
Make WindowState bindable.
Requested changes.
9 years ago
Steven Kirk
d9ca27ba87
Stop renderer on Window minimize.
Adds a new `WindowStateChanged` event to `IWindowImpl` and when a window is minimized, stops the associated renderer (only implemented on win32 currently).
8 years ago
CommonGuy
a50a8a3314
Add CanResize to Window
8 years ago
Stano Turza
586e8654f3
replace Min Max properties with function
8 years ago
Stano Turza
b89b72f0ba
Fix Win32 window size constraints
fixes + revert testing changes
8 years ago
Stano Turza
bd33b3076b
Fix Win32 window size constraints
fixes + revert testing changes
8 years ago
Manuel Allenspach
b2461f4b1f
Implement Closing event
8 years ago
Steven Kirk
64ed0761c7
Rename Dispatcher invoke methods.
`InvokeAsync` -> `Post`
`InvokeTaskAsync` -> `InvokeAsync`
8 years ago
Nikita Tsukanov
2b8953c7ab
Fixed merge issues and made new previewer to work with desktop .net
9 years ago
Nikita Tsukanov
d7e7422999
Moved remote previewer entry point to DesignSupport.dll
9 years ago
Nikita Tsukanov
9a1348b37b
Initial remote XAML previewer implementation
9 years ago