Rediger

Del via


DataGrid.HeadersVisibility Property

Definition

Gets or sets the value that specifies the visibility of the row and column headers.

public:
 property System::Windows::Controls::DataGridHeadersVisibility HeadersVisibility { System::Windows::Controls::DataGridHeadersVisibility get(); void set(System::Windows::Controls::DataGridHeadersVisibility value); };
public System.Windows.Controls.DataGridHeadersVisibility HeadersVisibility { get; set; }
member this.HeadersVisibility : System.Windows.Controls.DataGridHeadersVisibility with get, set
Public Property HeadersVisibility As DataGridHeadersVisibility

Property Value

One of the enumeration values that indicates the visibility of row and column headers. The registered default is All. For more information about what can influence the value, see DependencyProperty.

Remarks

This property specifies whether the row and column headers are visible. The appearance of the headers when they are visible is specified by the RowHeaderStyle and ColumnHeaderStyle properties.

Applies to