xtd 0.2.0
Loading...
Searching...
No Matches

◆ minimum_window_size()

static xtd::drawing::size xtd::forms::system_information::minimum_window_size ( )
static

Gets the minimum width and height for a window, in pixels.

Returns
A size that specifies the minimum allowable dimensions of a window, in pixels.
Remarks
The minimum_window_size property indicates the dimensions specified by Windows as the minimum size for a window. You can use this property to limit the resizing of windows to dimensions not exceeding either dimension returned by this property.
Note
Developers of applications capable of resizing windows may want to use the value of this property to ensure that the application does not attempt to resize the window to a lesser width or height, since the dimensions of the window would be limited by the system.