ColumnHeaderAutoResizeStyle 枚举

定义

指定应该如何调整 ListView 中包含的列的大小。Specifies how a column contained in a ListView should be resized.

public enum class ColumnHeaderAutoResizeStyle
public enum ColumnHeaderAutoResizeStyle
type ColumnHeaderAutoResizeStyle = 
Public Enum ColumnHeaderAutoResizeStyle
继承
ColumnHeaderAutoResizeStyle

字段

ColumnContent 2

指定应该根据列内容的长度调整列的大小。Specifies the column should be resized based on the length of the column content.

HeaderSize 1

指定应该根据列标题内容的长度调整列的大小。Specifies the column should be resized based on the length of the column header content.

None 0

指定不应调整大小。Specifies no resizing should occur.

注解

由、和ListView.AutoResizeColumns方法使用。 ListView.AutoResizeColumn ColumnHeaderAutoResizeStyle ColumnHeader.AutoResizeThe ColumnHeaderAutoResizeStyle is used by the ListView.AutoResizeColumn, ListView.AutoResizeColumns, and ColumnHeader.AutoResize methods.

适用于