ElementExtensions.Resizable<TWindow> method
Sets the window as resizable with optional min/max constraints.
public static TWindow Resizable<TWindow>(this TWindow window, double width, double height, double minWidth = 0m, double minHeight = 0m, double maxWidth = Infinitym, double maxHeight = Infinitym) where TWindow : Window| parameter | description |
|---|---|
| TWindow | Window type. |
| window | Target window. |
| width | Width value. |
| height | Height value. |
| minWidth | Minimum width constraint. |
| minHeight | Minimum height constraint. |
| maxWidth | Maximum width constraint. |
| maxHeight | Maximum height constraint. |
Return Value
Section titled “Return Value”The window for chaining.
See Also
Section titled “See Also”- class Window
- class ElementExtensions
- namespace Aprillz.MewUI.Controls