DataGridGridLinesVisibility 枚举

定义

定义指定 DataGrid 中的网格线的可见性的常数。Defines constants that specify the visibility of the grid lines in a DataGrid.

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

字段

All 0

水平和垂直网格线均可见。Both horizontal and vertical grid lines are visible.

Horizontal 1

仅水平网格线可见。Only horizontal grid lines are visible.

None 2

没有任何网格线可见。No grid lines are visible.

Vertical 3

仅垂直网格线可见。Only vertical grid lines are visible.

注解

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

网格线的样式由VerticalGridLinesBrushHorizontalGridLinesBrush属性确定。The style of the grid lines is determined by the VerticalGridLinesBrush and HorizontalGridLinesBrush properties.

适用于