Table of Contents

Class WindowCompositionExtensions

Namespace
Xui.Core.Middleware
Assembly
Xui.Core.dll

Provides traversal helpers for the abstract side of a composed window chain.

public static class WindowCompositionExtensions
Inheritance
WindowCompositionExtensions
Inherited Members

Methods

GetDesktopStyle(IWindow)

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 IWindow.IDesktopStyle itself.

public static IWindow.IDesktopStyle? GetDesktopStyle(this IWindow window)

Parameters

window IWindow

Returns

IWindow.IDesktopStyle

GetMacOSWindowStyle(IWindow)

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 IMacOSWindowStyle itself.

public static IMacOSWindowStyle? GetMacOSWindowStyle(this IWindow window)

Parameters

window IWindow

Returns

IMacOSWindowStyle