Files
2026-06-04 11:42:34 +02:00

60 lines
2.3 KiB
C#

using System;
namespace System.ComponentModel
{
/// <summary>Provides a description of the sort operation applied to a data source.</summary>
// Token: 0x020000A7 RID: 167
public class ListSortDescription
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ListSortDescription" /> class with the specified property description and direction.</summary>
/// <param name="property">The <see cref="T:System.ComponentModel.PropertyDescriptor" /> that describes the property by which the data source is sorted.</param>
/// <param name="direction">One of the <see cref="T:System.ComponentModel.ListSortDescription" /> values.</param>
// Token: 0x06000560 RID: 1376 RVA: 0x0000E328 File Offset: 0x0000C528
public ListSortDescription(PropertyDescriptor propertyDescriptor, ListSortDirection sortDirection)
{
this.propertyDescriptor = propertyDescriptor;
this.sortDirection = sortDirection;
}
/// <summary>Gets or sets the abstract description of a class property associated with this <see cref="T:System.ComponentModel.ListSortDescription" /></summary>
/// <returns>The <see cref="T:System.ComponentModel.PropertyDescriptor" /> associated with this <see cref="T:System.ComponentModel.ListSortDescription" />. </returns>
// Token: 0x17000165 RID: 357
// (get) Token: 0x06000561 RID: 1377 RVA: 0x0000E340 File Offset: 0x0000C540
// (set) Token: 0x06000562 RID: 1378 RVA: 0x0000E348 File Offset: 0x0000C548
public PropertyDescriptor PropertyDescriptor
{
get
{
return this.propertyDescriptor;
}
set
{
this.propertyDescriptor = value;
}
}
/// <summary>Gets or sets the direction of the sort operation associated with this <see cref="T:System.ComponentModel.ListSortDescription" />.</summary>
/// <returns>One of the <see cref="T:System.ComponentModel.ListSortDirection" /> values. </returns>
// Token: 0x17000166 RID: 358
// (get) Token: 0x06000563 RID: 1379 RVA: 0x0000E354 File Offset: 0x0000C554
// (set) Token: 0x06000564 RID: 1380 RVA: 0x0000E35C File Offset: 0x0000C55C
public ListSortDirection SortDirection
{
get
{
return this.sortDirection;
}
set
{
this.sortDirection = value;
}
}
// Token: 0x0400019B RID: 411
private PropertyDescriptor propertyDescriptor;
// Token: 0x0400019C RID: 412
private ListSortDirection sortDirection;
}
}