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 這個屬性就沒有作用。

適用於

另請參閱