編輯

共用方式為


ItemCollection.CanGroup Property

Definition

Gets a value that indicates whether this collection view supports grouping.

public:
 virtual property bool CanGroup { bool get(); };
public override bool CanGroup { get; }
member this.CanGroup : bool
Public Overrides ReadOnly Property CanGroup As Boolean

Property Value

true if the collection supports grouping; otherwise, false. The default value is false.

Remarks

Use this property to test whether the current implementation supports grouping before using the GroupDescriptions property to add GroupDescription objects.

Applies to