ListViewGroup.Header Property

Definition

获取或设置组的标题文本。Gets or sets the header text for the group.

public:
 property System::String ^ Header { System::String ^ get(); void set(System::String ^ value); };
public string Header { get; set; }
member this.Header : string with get, set
Public Property Header As String

Property Value

String

要为组标题显示的文本。The text to display for the group header. 默认值为“ListViewGroup”。The default is "ListViewGroup".

Remarks

使用此属性可以检索标题文本,或在运行时更改标头值。Use this property to retrieve the header text or to change the header value at run time. 您还可以在 ListViewGroup 构造函数中设置页眉文本。You can also set the header text in the ListViewGroup constructor.

Applies to