DataGridColumn.HeaderStringFormat Property

.NET Framework (current version)

Gets or sets the format pattern to apply to the content of the column header.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public string HeaderStringFormat { get; set; }

Property Value

Type: System.String

A string value that represents the formatting pattern. The registered default is null. For information about what can influence the value, see DependencyProperty.

.NET Framework
Available since 4.0
Return to top