DataGrid.HorizontalGridLinesBrush Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the brush that is used to draw the horizontal grid lines.
public:
property System::Windows::Media::Brush ^ HorizontalGridLinesBrush { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush HorizontalGridLinesBrush { get; set; }
member this.HorizontalGridLinesBrush : System.Windows.Media.Brush with get, set
Public Property HorizontalGridLinesBrush As Brush
Property Value
The brush that is used to draw the horizontal grid lines in the DataGrid. The registered default is a black SolidColorBrush. For more information about what can influence the value, see DependencyProperty.
Remarks
Horizontal grid lines separate the rows in the DataGrid. This property has no effect if the GridLinesVisibility property is set to Vertical or None.
Applies to
See also
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET