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

其中一個 SizeType 值,指定使用者介面 (UI) 項目的資料列或資料行應該要如何調整大小 (相對於其容器)。 預設為 AutoSize

備註

資料表配置引擎會以下列其中一種方式來調整資料列或資料行的大小:

  • 在 () 的絕對圖元 Absolute 數中。

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

  • 若要與其對等共用空間, (AutoSize) 。

適用於

另請參閱