61 references to SortDirection
System.Web (29)
UI\WebControls\GridView.cs (26)
107
private
SortDirection
_sortDirection =
SortDirection
.Ascending;
1388
DefaultValue(
SortDirection
.Ascending),
1393
public virtual
SortDirection
SortDirection {
1402
private
SortDirection
SortDirectionInternal {
1407
if (value <
SortDirection
.Ascending || value >
SortDirection
.Descending) {
1883
private string BuildCallbackArgument(string sortExpression,
SortDirection
sortDirection) {
2391
if (SortDirectionInternal ==
SortDirection
.Descending && !String.IsNullOrEmpty(sortExpression)) {
3147
SortDirection
futureSortDirection =
SortDirection
.Ascending;
3149
if ((SortExpressionInternal == sortExpression) && (SortDirectionInternal ==
SortDirection
.Ascending)) {
3151
futureSortDirection =
SortDirection
.Descending;
3156
private void HandleSort(string sortExpression,
SortDirection
sortDirection) {
3415
_sortDirection =
SortDirection
.Ascending;
3441
_sortDirection = (
SortDirection
)state[5];
3510
SortDirection
oldSortDirection = ((
SortDirection
)Int32.Parse(sortDirection, CultureInfo.InvariantCulture));
3938
if (SortDirection ==
SortDirection
.Ascending) {
4139
SortDirection
newSortDirection =
SortDirection
.Ascending;
4141
if ((sortExpression == SortExpressionInternal) && (SortDirectionInternal ==
SortDirection
.Ascending)) {
4142
newSortDirection =
SortDirection
.Descending;
4231
_sortDirection !=
SortDirection
.Ascending ||
4243
state[5] = (_sortDirection ==
SortDirection
.Ascending) ? null : (object)((int)_sortDirection);
4375
public virtual void Sort(string sortExpression,
SortDirection
sortDirection) {
UI\WebControls\GridViewSortEventArgs.cs (3)
22
private
SortDirection
_sortDirection;
28
public GridViewSortEventArgs(string sortExpression,
SortDirection
sortDirection) {
36
public
SortDirection
SortDirection {
System.Web.Extensions (32)
UI\WebControls\Expressions\OrderByExpression.cs (10)
31
public
SortDirection
Direction {
34
return o != null ? (
SortDirection
)o :
SortDirection
.Ascending;
71
private static IQueryable CreateSortQueryable(IQueryable source, ParameterExpression parameterExpression,
SortDirection
direction, string dataField, bool isThenBy) {
81
private static string GetSortMethod(
SortDirection
direction) {
83
case
SortDirection
.Ascending:
85
case
SortDirection
.Descending:
93
private static string GetThenBySortMethod(
SortDirection
direction) {
95
case
SortDirection
.Ascending:
97
case
SortDirection
.Descending:
UI\WebControls\Expressions\ThenBy.cs (1)
11
public
SortDirection
Direction {
UI\WebControls\ListView.cs (18)
71
private
SortDirection
_sortDirection =
SortDirection
.Ascending;
858
DefaultValue(
SortDirection
.Ascending),
864
public virtual
SortDirection
SortDirection {
873
private
SortDirection
SortDirectionInternal {
878
if (value <
SortDirection
.Ascending || value >
SortDirection
.Descending) {
1574
if (SortDirectionInternal ==
SortDirection
.Descending && !String.IsNullOrEmpty(sortExpression)) {
2476
SortDirection
futureSortDirection =
SortDirection
.Ascending;
2478
if ((SortExpressionInternal == sortExpression) && (SortDirectionInternal ==
SortDirection
.Ascending)) {
2480
futureSortDirection =
SortDirection
.Descending;
2485
private void HandleSort(string sortExpression,
SortDirection
sortDirection) {
2673
_sortDirection =
SortDirection
.Ascending;
2697
_sortDirection = (
SortDirection
)state[5];
3212
_sortDirection !=
SortDirection
.Ascending ||
3224
state[5] = (_sortDirection ==
SortDirection
.Ascending) ? null : (object)((int)_sortDirection);
3290
public virtual void Sort(string sortExpression,
SortDirection
sortDirection) {
UI\WebControls\ListViewSortEventArgs.cs (3)
15
private
SortDirection
_sortDirection;
17
public ListViewSortEventArgs(string sortExpression,
SortDirection
sortDirection)
26
public
SortDirection
SortDirection {