New to Telerik UI for WinForms? Start a free 30-day trial

Holds the maximum and minimum size and position values exchanged with the form's native min/max sizing message.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class MinMaxInfo

Inheritance: objectMinMaxInfo

Constructors

Initializes an empty set of form min/max sizing values.

C#
public MinMaxInfo()

Initializes the native min/max sizing values used to constrain the form's position and tracking sizes.

C#
public MinMaxInfo(Size maxTrack, Size minTrack, Size maxSize, Point maxPosition, Size sizeReserved)
Parameters:maxTrackSize

The largest size to which the user can resize the form.

minTrackSize

The smallest size to which the user can resize the form.

maxSizeSize

The form size when maximized.

maxPositionPoint

The position of the form when maximized.

sizeReservedSize

The reserved size value from the native sizing structure.

Properties

Gets or sets the form position used when the form is maximized.

C#
public Point MaxPosition { get; set; }

Gets or sets the form size used when the form is maximized.

C#
public Size MaxSize { get; set; }

Gets or sets the largest size to which the user can resize the form.

C#
public Size MaxTrackSize { get; set; }

Gets or sets the smallest size to which the user can resize the form.

C#
public Size MinTrackSize { get; set; }

Gets or sets the reserved size value from the native min/max sizing structure.

C#
public Size SizeReserved { get; set; }