Resizable Property
Collapse the table of content
Expand the table of content

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)

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

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:
© 2016 Microsoft