|
|
|
@ -104,7 +104,6 @@ namespace Avalonia.Controls |
|
|
|
public static readonly StyledProperty<double> ExtendClientAreaTitleBarHeightHintProperty = |
|
|
|
AvaloniaProperty.Register<Window, double>(nameof(ExtendClientAreaTitleBarHeightHint), -1); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="IsExtendedIntoWindowDecorations"/> property.
|
|
|
|
/// </summary>
|
|
|
|
@ -124,7 +123,6 @@ namespace Avalonia.Controls |
|
|
|
AvaloniaProperty.RegisterDirect<Window, Thickness>(nameof(OffScreenMargin), |
|
|
|
o => o.OffScreenMargin); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="SystemDecorations"/> property.
|
|
|
|
/// </summary>
|
|
|
|
@ -534,9 +532,7 @@ namespace Avalonia.Controls |
|
|
|
protected virtual void ExtendClientAreaToDecorationsChanged(bool isExtended) |
|
|
|
{ |
|
|
|
IsExtendedIntoWindowDecorations = isExtended; |
|
|
|
|
|
|
|
WindowDecorationMargins = PlatformImpl.ExtendedMargins; |
|
|
|
|
|
|
|
OffScreenMargin = PlatformImpl.OffScreenMargin; |
|
|
|
|
|
|
|
if (PlatformImpl.NeedsManagedDecorations) |
|
|
|
|