Version

AllowRowHeaderResize Property

Returns or sets a boolean value indicating whether horizontal resizing of the columns in which row headers appear is allowed via user interaction.
Syntax
'Declaration
 
Public Property AllowRowHeaderResize As RowHeaderSizing
public RowHeaderSizing AllowRowHeaderResize {get; set;}
Remarks

The number of row header columns displayed by the control is determined differently depending on the value of the RowHeaderLayout property

For the 'Standard' setting, each column corresponds to a level within a hierarchy; for the compact settings, each column corresponds to the hierarchy itself.

When row header column sizing is enabled, the user can change the width of any row header column by dragging a horizontal resizer, which appears alongside the right edge of each row header.

Row headers can also be 'auto-sized' by double-clicking this resizer. When a row header column is auto-sized, the ideal width for that header column is determined by measuring the content for each header in that column, and setting the width to be exactly large enough to fully accommodate each header's content.

The width of a row header column can be programmatically changed using the SetRowHeaderColumnWidth method. Specifying a value of zero for the value parameter clears any previously applied explicit setting, causing the column to revert to its ideal width.

All explicit row header column width settings can be cleared in one atomic operation using the ResetAllRowHeaderColumnWidths method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also