IWindowBaseImpl Interface

Namespace
Avalonia.Platform
Interfaces
Implementing Types
graph BT Type-.->Interface0["ITopLevelImpl"] click Interface0 "/api/Avalonia.Platform/ITopLevelImpl" Type-.->Interface1["IDisposable"] Type["IWindowBaseImpl"] class Type type-node Implementing0["IPopupImpl"]-.->Type click Implementing0 "/api/Avalonia.Platform/IPopupImpl" Implementing1["IWindowImpl"]-.->Type click Implementing1 "/api/Avalonia.Platform/IWindowImpl"

Syntax

public interface IWindowBaseImpl : ITopLevelImpl, IDisposable

Properties

Name Value Summary
Activated Action
Gets or sets a method called when the window is activated (receives focus).
Deactivated Action
Gets or sets a method called when the window is deactivated (loses focus).
DesktopScaling double
Gets the scaling factor for Window positioning and sizing.
Handle IPlatformHandle
Gets the platform window handle.
MaxAutoSizeHint Size
Gets a maximum client size hint for an auto-sizing window, in device-independent pixels.
Position PixelPoint
Gets the position of the window in device pixels.
PositionChanged Action<PixelPoint>
Gets or sets a method called when the window's position changes.
Screen IScreenImpl
Gets platform specific display information

Methods

Name Value Summary
Activate() void
Activates the window.
Hide() void
Hides the window.
SetTopmost(bool) void
Sets whether this window appears on top of all other windows
Show(bool) void
Shows the window.