ICollectionView.CanSort Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value that indicates whether this view supports sorting by way of the SortDescriptions property.

Namespace:  System.ComponentModel
Assembly:  System.Windows (in System.Windows.dll)

Syntax

ReadOnly Property CanSort As Boolean
bool CanSort { get; }

Property Value

Type: System..::.Boolean
true if this view supports sorting; otherwise, false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ICollectionView Interface

System.ComponentModel Namespace

SortDescriptions