Edit

Share via


ColumnHeaderAutoResizeStyle Enum

Definition

Specifies how a column contained in a ListView should be resized.

public enum class ColumnHeaderAutoResizeStyle
public enum ColumnHeaderAutoResizeStyle
type ColumnHeaderAutoResizeStyle = 
Public Enum ColumnHeaderAutoResizeStyle
Inheritance
ColumnHeaderAutoResizeStyle

Fields

Name Value Description
None 0

Specifies no resizing should occur.

HeaderSize 1

Specifies the column should be resized based on the length of the column header content.

ColumnContent 2

Specifies the column should be resized based on the length of the column content.

Remarks

The ColumnHeaderAutoResizeStyle is used by the ListView.AutoResizeColumn, ListView.AutoResizeColumns, and ColumnHeader.AutoResize methods.

Applies to