Skip to content

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.

The window for chaining.