DataGridViewHeaderCell::Resizable Property

 

Gets a value indicating whether the cell is resizable.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BrowsableAttribute(false)]
property bool Resizable {
	virtual bool get() override;
}

Property Value

Type: System::Boolean

true if this cell can be resized; otherwise, false. The default is false if the cell is not attached to a DataGridView.

A row header cell is resizable if the row is resizable or the RowHeadersWidthSizeMode property is set to EnableResizing. A column header cell is resizable if the column is resizable or the ColumnHeadersHeightSizeMode property is set to EnableResizing.

.NET Framework
Available since 2.0
Return to top
Show: