DataGridHeadersVisibility 枚举

定义

定义指定 DataGrid 中的行和列标题的可见性的常数。Defines constants that specify the visibility of row and column headers in a DataGrid.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class DataGridHeadersVisibility
[System.Flags]
public enum DataGridHeadersVisibility
type DataGridHeadersVisibility = 
Public Enum DataGridHeadersVisibility
继承
DataGridHeadersVisibility
属性

字段

All 3

行标题和列标题均可见。Both row and column headers are visible.

Column 1

只有列标题可见。Only column headers are visible.

None 0

没有任何标题可见。No headers are visible.

Row 2

只有行标题可见。Only row headers are visible.

注解

此枚举由HeadersVisibility属性使用。This enumeration is used by the HeadersVisibility property.

标头的样式由RowHeaderStyleColumnHeaderStyle属性确定。The style of the headers is determined by the RowHeaderStyle and ColumnHeaderStyle properties.

适用于

另请参阅