語言

TableLayoutStyle.SizeType 屬性

定義

取得或設定一個旗標,指示列或欄相對於其包含資料表的大小。

public:
 property System::Windows::Forms::SizeType SizeType { System::Windows::Forms::SizeType get(); void set(System::Windows::Forms::SizeType value); };
public System.Windows.Forms.SizeType SizeType { get; set; }
member this.SizeType : System.Windows.Forms.SizeType with get, set
Public Property SizeType As SizeType

屬性值

其中一個 SizeType 值是指定使用者介面(UI)元素的列或欄應該相對於其容器大小的。 預設值為 AutoSize。

備註

表格排版引擎會以以下其中一種方式來大小一列或列:

  • 以絕對像素數Absolute()表示。

  • 以父容器Percent的百分比()。

  • 與其對等的AutoSize ()。

適用於

另請參閱