DataGrid.VerticalGridLinesBrush 属性

定义

获取或设置用于绘制垂直网格线的画笔。

public:
 property System::Windows::Media::Brush ^ VerticalGridLinesBrush { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush VerticalGridLinesBrush { get; set; }
member this.VerticalGridLinesBrush : System.Windows.Media.Brush with get, set
Public Property VerticalGridLinesBrush As Brush

属性值

用于绘制 DataGrid 中的垂直网格线的画笔。 注册的默认值为黑色 SolidColorBrush。 有关可以影响值的因素的更多信息,请参见 DependencyProperty

注解

垂直网格线分隔 中的 DataGrid列。 如果属性设置为 HorizontalNoneGridLinesVisibility则此属性无效。

适用于

另请参阅