isMaximized property

bool isMaximized

Returns if this Window is maximized.

Implementation

bool get isMaximized =>
    (getWindowLongPtr(WINDOW_LONG_PTR_INDEX.GWL_STYLE) &
        WINDOW_STYLE.WS_MAXIMIZE) !=
    0;