ColumnHeaderAutoResizeStyle ColumnHeaderAutoResizeStyle ColumnHeaderAutoResizeStyle ColumnHeaderAutoResizeStyle Enum

定义

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

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

字段

ColumnContent ColumnContent ColumnContent ColumnContent 2

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

HeaderSize HeaderSize HeaderSize HeaderSize 1

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

None None None 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.

适用于