Control.MaximumSize Property


获取或设置大小,该大小是 GetPreferredSize(Size) 可以指定的上限。Gets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.

 virtual property System::Drawing::Size MaximumSize { System::Drawing::Size get(); void set(System::Drawing::Size value); };
public virtual System.Drawing.Size MaximumSize { get; set; }
member this.MaximumSize : System.Drawing.Size with get, set
Public Overridable Property MaximumSize As Size

Property Value


类型为 Size 的有序对,表示矩形的宽度和高度。An ordered pair of type Size representing the width and height of a rectangle.

Applies to