GridViewColumn.HeaderStringFormat Property
이 문서의 내용
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a composite string that specifies how to format the Header property if it is displayed as a string.
public:
property System::String ^ HeaderStringFormat { System::String ^ get(); void set(System::String ^ value); };
public string HeaderStringFormat { get; set; }
member this.HeaderStringFormat : string with get, set
Public Property HeaderStringFormat As String
A composite string that specifies how to format the Header property if it is displayed as a string. The default is null
.
If the GridView.ColumnHeaderTemplate, GridViewColumn.HeaderTemplate, or GridViewHeaderRowPresenter.ColumnHeaderTemplate property is set, this property is ignored.
You can use several properties to specify the format of the column headers. If more than one property is set, the column header is formatted with the value of the property that has the highest priority. The format for a column can be set on several types. The following list shows the properties that can be used to format the column headers, ordered from lowest to highest priority:
Item | Value |
---|---|
Identifier field | HeaderStringFormatProperty |
Metadata properties set to true |
None |
Applies to
제품 | 버전 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.