Udostępnij za pośrednictwem


DataGridView.AutoResizeRowHeadersWidth Method (2007 System)

Include Protected Members
Include Inherited Members

Adjusts the width of the row headers to fit the header contents.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode)

Adjusts the width of the row headers using the specified size mode. (Inherited from DataGridView.)

Public method

AutoResizeRowHeadersWidth(Int32, DataGridViewRowHeadersWidthSizeMode)

Adjusts the width of the row headers based on changes to the contents of the header in the specified row and using the specified size mode. (Inherited from DataGridView.)

Protected method

AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode, Boolean, Boolean)

Adjusts the width of the row headers using the specified size mode, optionally calculating the width with the expectation that the row and/or column header widths will subsequently be adjusted. (Inherited from DataGridView.)

Protected method

AutoResizeRowHeadersWidth(Int32, DataGridViewRowHeadersWidthSizeMode, Boolean, Boolean)

Adjusts the width of the row headers based on changes to the contents of the header in the specified row and using the specified size mode, optionally calculating the width with the expectation that the row and/or column header widths will subsequently be adjusted. (Inherited from DataGridView.)

Top

See Also

Reference

DataGridView Class

DataGridView Members

Microsoft.Office.Tools.Word.Controls Namespace