次の方法で共有


DataGridViewHeaderCell.Resizable プロパティ

定義

セルのサイズを変更できるかどうかを示す値を取得します。

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

プロパティ値

true このセルのサイズを変更できる場合。それ以外の場合は false。 セルがDataGridViewにアタッチされていない場合、既定値は false です。

属性

注釈

行ヘッダー セルは、行のサイズが変更可能であるか、 RowHeadersWidthSizeMode プロパティが EnableResizing に設定されている場合にサイズ変更できます。 列ヘッダー セルは、列のサイズが変更可能であるか、 ColumnHeadersHeightSizeMode プロパティが EnableResizing に設定されている場合にサイズ変更できます。

適用対象

こちらもご覧ください