Compartilhar via


DataGridColumnHeader.SeparatorVisibility Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value indicating whether the column header separator lines are visible.

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

Syntax

'Declaration
Public Property SeparatorVisibility As Visibility
public Visibility SeparatorVisibility { get; set; }
sdk:DataGridColumnHeader SeparatorVisibility="Visible"/>
-or-
sdk:DataGridColumnHeader SeparatorVisibility="Collapsed"/>

Property Value

Type: System.Windows.Visibility
One of the enumeration values that specifies the visibility of the column header separator lines. The default is Visible.

Remarks

Dependency property identifier field: SeparatorVisibilityProperty

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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