Skip to content
Version 2.35.0
↓ Get the launcher

WindowSizeLimitsExtensions.SetSizeLimits method

Change this window’s resize limits at runtime (see IWindowSizeLimits). No-op on a handle that doesn’t support it (an older framework, or the inert handle returned for a duplicate window id).

public static void SetSizeLimits(this IWindowControl control, float minWidth, float minHeight,
float maxWidth, float maxHeight)