Redigera

Dela via


DataGridRow.HeaderStyle Property

Definition

Gets or sets the style that is used when rendering the row header.

public:
 property System::Windows::Style ^ HeaderStyle { System::Windows::Style ^ get(); void set(System::Windows::Style ^ value); };
public System.Windows.Style HeaderStyle { get; set; }
member this.HeaderStyle : System.Windows.Style with get, set
Public Property HeaderStyle As Style

Property Value

The style that is used when rendering the row header. The registered default is null. For information about what can influence the value, see DependencyProperty.

Remarks

To define a Style for a row header, specify a TargetType of DataGridRowHeader.

A Style can be applied to all row headers, or to an individual row header. To apply a Style to an individual header set the DataGridRow.HeaderStyle property, which takes precedence over the DataGrid.RowHeaderStyle property.

Applies to

See also