ICollectionViewLiveShaping.CanChangeLiveGrouping Property
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 a value that indicates whether the collection view supports turning grouping data in real time on or off.
public:
property bool CanChangeLiveGrouping { bool get(); };
public bool CanChangeLiveGrouping { get; }
member this.CanChangeLiveGrouping : bool
Public ReadOnly Property CanChangeLiveGrouping As Boolean
true
if the collection view supports turning live grouping on or off; otherwise, false
.
Your CollectionView can implement live grouping itself, or you can delegate live grouping to another object, such as the underlying collection. If you delegate live grouping, the CollectionView might not have control over whether it is enabled. Your CollectionView must accept the behavior of the object to which it delegates. In this case, set the CanChangeLiveGrouping property to false
.
Produkt | Versioner |
---|---|
.NET Framework | 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 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: