SeparatorBrush Property
Collapse the table of content
Expand the table of content

DataGridColumnHeader.SeparatorBrush Property

Gets or sets the Brush used to paint the column header separator lines.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public Brush SeparatorBrush { get; set; }
<sdk:DataGridColumnHeader SeparatorBrush="colorString"/>

XAML Values


Within opening and closing property elements for sdk:DataGridColumnHeader.SeparatorBrush, exactly one object element for an object that derives from Brush. The object element is typically one of the following Silverlight classes: LinearGradientBrush, RadialGradientBrush, ImageBrush, SolidColorBrush, or VideoBrush.


The Color for a SolidColorBrush expressed as an attribute string. This can be a named color, an RGB value, or an ScRGB value. RGB or ScRGB may also specify alpha information. See Color.

Property Value

Type: System.Windows.Media.Brush
The brush used to paint column header separator lines.

Dependency property identifier field: SeparatorBrushProperty


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft