Export (0) Print
Expand All

DataGridView.AutoResizeRowHeadersWidth Method

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.

  Name Description
Public method AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode) Adjusts the width of the row headers using the specified size mode.
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.
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.
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.
Top
Show:
© 2014 Microsoft