System.Windows.Forms.ListView.ShowGroups Property

Gets or sets a value indicating whether items are displayed in groups.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool ShowGroups { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Any groups assigned to a System.Windows.Forms.ListView control appear whenever the ListView.View property is set to a value other than View.List. The System.Windows.Forms.ListView grouping feature lets you create visual groups of logically related System.Windows.Forms.ListView items on Windows XP and Windows Server 2003. To enable this feature, your application must call the Application.EnableVisualStyles method. For more information, see the ListView.Groups property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0