|
|
|
@ -96,7 +96,6 @@ namespace Avalonia.Controls |
|
|
|
private Border? _transparencyFallbackBorder; |
|
|
|
private TargetWeakEventSubscriber<TopLevel, ResourcesChangedEventArgs>? _resourcesChangesSubscriber; |
|
|
|
private IStorageProvider? _storageProvider; |
|
|
|
private WindowNotificationManager? _notificationManager; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes static members of the <see cref="TopLevel"/> class.
|
|
|
|
@ -330,18 +329,6 @@ namespace Avalonia.Controls |
|
|
|
|
|
|
|
IRenderTarget IRenderRoot.CreateRenderTarget() => CreateRenderTarget(); |
|
|
|
|
|
|
|
public WindowNotificationManager NotificationManager |
|
|
|
{ |
|
|
|
get |
|
|
|
{ |
|
|
|
if(_notificationManager == null) |
|
|
|
{ |
|
|
|
_notificationManager = new WindowNotificationManager(this); |
|
|
|
} |
|
|
|
return _notificationManager; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
protected virtual IRenderTarget CreateRenderTarget() |
|
|
|
{ |
|
|
|
|