Rediger

Del via


LinqDataSourceView.CanSort Property

Definition

Gets a value that indicates whether the LinqDataSourceView object that is associated with the current LinqDataSource control supports a sorted view of the retrieved data.

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

Property Value

true.

Remarks

The LinqDataSourceView object always supports sorting even if data presentation control does not use sorting. When the LinqDataSourceView.AutoSort property is set to false, you can manually sort the data in the Selecting event.

Applies to

See also