Nikita Tsukanov
5cd7c1f6f4
Reworked dialogs for GTK/Win32
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Jeremy Koritzinsky
af86085537
Fix build warning.
8 years ago
Dan Walmsley
23fdfe51df
fix bug that was preventing user from cancelling window close.
8 years ago
José Pedro
f32e71c977
Fixed Window.Close, so that Closing is only invoked once.
8 years ago
Sannan Khan
2a14f4d6a5
Moved SetWindowStartupLocation() to end of Show() function
8 years ago
CommonGuy
42121ec2c1
Move topmost to WindowBase
8 years ago
Benedikt Schroeder
e576ec178c
Initial
8 years ago
CommonGuy
0af6dd2c0a
Implement topmost on window
8 years ago
Steven Kirk
2f64e0f952
Removed functionality implemented by #1190 .
8 years ago
Dan Walmsley
865a866388
update documentation and fix bug when
system decorations are restored so that CanResize is obeyed.
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
Manuel Allenspach
b2461f4b1f
Implement Closing event
8 years ago
Steven Kirk
0b828e1810
Don't try to cast null to value type.
The return type for `ShowDialog<T>` can be a value type. If so, use `default(T)` for the return value when the dialog is closed using the OS close button instead of trying to cast `null` to `T`.
Fixes #1423
8 years ago
Steven Kirk
2af1f20108
Mark SizeToContent with [Flags].
And explicitly assign values.
8 years ago
Steven Kirk
70d75c0eb5
Fix Window auto-sizing.
`Window` was acting like `SizeToContent="WidthAndHeight"` was set even when it wasn't. This fixes that.
8 years ago
Steven Kirk
6b9e93d267
Fix window child constraint.
Instead of measuring the child and then clipping the child's desired size based on `SizeToContent`, instead pass a constraint based on `SizeToContent` to the child.
8 years ago
José Pedro
2cc4b41acc
Use Screen API.
9 years ago
Jurjen Biewenga
e25f949d98
Screen information API implementation
9 years ago
Jurjen Biewenga
025d630f77
Renamed 'HasTaskbarIcon' to 'ShowInTaskbar'
9 years ago
Jurjen Biewenga
a12c4649cb
Cleaned up implementation of ShowTaskbarIcon
Created property in Window to enable/disable the taskbar icon
9 years ago
José Pedro
efb9fd4c57
Added missing setters.
9 years ago
José Pedro
e54d0c75d1
Property changes.
9 years ago
José Pedro
87e8cb8923
Fixed PossibleNullReferenceException.
9 years ago
José Pedro
1eee17345b
Implemented Window.WindowStartupLocation and WindowBase.Owner.
9 years ago
Steven Kirk
daf59b8497
Start/stop the renderer on window show/hide.
9 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Steven Kirk
5a819c1c87
Make Window.OpenWindows readonly
And hack around the fact that it's static in unit tests.
9 years ago
Steven Kirk
a7ff93450e
Fixed problems with Windows.OpenWindows.
- Showing a window was causing it to be added to the collection twice because `Show()` called `IsVisible = true` which called `Show()`
- The window wasn't getting removed when the `PlatformImpl` signalled it was closed
9 years ago
Nikita Tsukanov
e883107ca3
Make PlatformImpl nullable and always check for null value
9 years ago
Wiesław Šoltés
0e6f48e8a0
Use different FromEventPattern method
Fixes #946
9 years ago
Steven Kirk
b7c83e77dd
Remove IsVisible changes from Window/Popup.
These were from a previous attempt to do what #935 does.
9 years ago
Steven Kirk
4e719262c4
Make WindowBase.IsVisible return correct value.
`WindowBase.IsVisible` now tracks the visibility of the window. Still
needs to call `Show` and `Hide` when changed.
9 years ago
Steven Kirk
8e6b6258ed
Fix re-enabling windows when dialog is closed.
9 years ago
Nikita Tsukanov
f21212e76a
Refactored out WindowBase from TopLevel
9 years ago
MrDaedra
10b6f9ed12
Reimplemented ShowDialog to use returned disposable
9 years ago
Andrey Alonzov
adda76bcc0
Changes according to PR comments.
9 years ago
MrDaedra
c98b57a525
Moved ShowDialog implementation from platform-specific interface to portable Window class.
9 years ago
Dan Walmsley
a85e70a124
Remove CoverTaskbarWhenMaximized property from Window.
9 years ago
Steven Kirk
b5e93b67fe
Make Window.IsVisible track window visibility.
10 years ago
Dan Walmsley
1ab0a87780
fix comments.
10 years ago
Dan Walmsley
43cac2c562
Renamed property to CoverTaskbarWhenMaximized.
10 years ago
Dan Walmsley
5cd8d3cfe7
Corrected default value for IgnoreTaskBarOnMaximizeProperty
10 years ago
Dan Walmsley
ae40a3fa56
Add IgnoreTaskbarWhenMaximized property to IWindowImpl
10 years ago
Jeremy Koritzinsky
7a5eb8b39e
Icon -> WindowIcon.
10 years ago
Jeremy Koritzinsky
b2f6a6d409
Fixed icon support in win32 and added example icon to ControlCatalog.
10 years ago
donandren
0d3429389a
added new constructor with IWindowImpl parameter
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago