Control.MaximumSize 屬性

定義

取得或設定 GetPreferredSize(Size) 可以指定的上限大小。Gets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.

public:
 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

屬性值

Size 類型的排序配對,代表矩形的寬度與高度。An ordered pair of type Size representing the width and height of a rectangle.

適用於