Gets a value that indicates whether the view supports sorting.
Public Overridable ReadOnly Property CanSort As Boolean Get
public virtual bool CanSort { get; }
public: virtual property bool CanSort { bool get (); }
abstract CanSort : bool override CanSort : bool
Use this property to test whether the view supports sorting before adding SortDescriptions. Derived classes override this property to indicate whether they support sorting.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2