Xui.Core.Middleware
Assembly: Xui.Core · C# declarations · Assembly overview
Types
interface IWindow
Represents a middleware-level window that bridges both the abstract UI model and the platform-specific window implementation.
This interface unifies Xui.Core.Abstract.IWindow and Xui.Core.Actual.IWindow, enabling a single component to mediate input, rendering, and lifecycle events between the platform and the UI framework. It is commonly used in emulators, testing layers, or composition hosts that need to intercept and control both sides of the window stack.
public interface IWindow : Actual.IWindow, Abstract.IWindow
{
}
class WindowCompositionExtensions
Provides traversal helpers for the abstract side of a composed window chain.
public static class WindowCompositionExtensions
{
public static Abstract.IWindow.IDesktopStyle? GetDesktopStyle(this Abstract.IWindow window);
public static Abstract.IMacOSWindowStyle? GetMacOSWindowStyle(this Abstract.IWindow window);
}
IDesktopStyle? WindowCompositionExtensions.GetDesktopStyle(IWindow window)
public static Abstract.IWindow.IDesktopStyle? GetDesktopStyle(this Abstract.IWindow window);
Returns the first desktop style found from a native window's paired abstract side towards the application window. Middleware can override the application style by implementing Xui.Core.Abstract.IWindow.IDesktopStyle itself.
IMacOSWindowStyle? WindowCompositionExtensions.GetMacOSWindowStyle(IWindow window)
public static Abstract.IMacOSWindowStyle? GetMacOSWindowStyle(this Abstract.IWindow window);
Returns the first macOS window style found from a native window's paired abstract side towards the application window. Middleware can override the application style by implementing Xui.Core.Abstract.IMacOSWindowStyle itself.