DataGridViewHeaderCell.Resizable DataGridViewHeaderCell.Resizable DataGridViewHeaderCell.Resizable DataGridViewHeaderCell.Resizable Property

定義

取得值,指出是否可調整儲存格的大小。Gets a value indicating whether the cell is resizable.

public:
 virtual property bool Resizable { bool get(); };
[System.ComponentModel.Browsable(false)]
public override bool Resizable { get; }
member this.Resizable : bool
Public Overrides ReadOnly Property Resizable As Boolean

屬性值

如果可調整此儲存格的大小,則為 true,否則為 falsetrue if this cell can be resized; otherwise, false. 如果儲存格未附加至 DataGridView,則預設值為 falseThe default is false if the cell is not attached to a DataGridView.

備註

如果資料列是可調整大小的, 或RowHeadersWidthSizeMode屬性設定為, EnableResizing則可以調整資料列行首儲存格的大小。A row header cell is resizable if the row is resizable or the RowHeadersWidthSizeMode property is set to EnableResizing. 如果資料行是可調整大小的, 或ColumnHeadersHeightSizeMode屬性設定為, EnableResizing則資料行首儲存格可以調整大小。A column header cell is resizable if the column is resizable or the ColumnHeadersHeightSizeMode property is set to EnableResizing.

適用於

另請參閱