This documentation is archived and is not being maintained.

SystemInformation.MaxWindowTrackSize Property

Gets the default maximum dimensions, in pixels, of a window that has a caption and sizing borders.

[Visual Basic]
Public Shared ReadOnly Property MaxWindowTrackSize As Size
public static Size MaxWindowTrackSize {get;}
public: __property static Size get_MaxWindowTrackSize();
public static function get MaxWindowTrackSize() : Size;

Property Value

A Size that specifies the maximum size to which a window can be sized.


The value returned by MaxWindowTrackSize refers to dimensions of the entire desktop. The user cannot drag the window frame to a size larger than these dimensions. A Form can override this value by overriding the MaximumSize property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemInformation Class | SystemInformation Members | System.Windows.Forms Namespace | SystemInformation | Form | MaximumSize | Size