45 lines
2.2 KiB
C#
45 lines
2.2 KiB
C#
using System;
|
|
using System.Collections;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Extends the <see cref="T:System.ComponentModel.IBindingList" /> interface by providing advanced sorting and filtering capabilities.</summary>
|
|
// Token: 0x02000085 RID: 133
|
|
public interface IBindingListView : ICollection, IEnumerable, IList, IBindingList
|
|
{
|
|
/// <summary>Gets or sets the filter to be used to exclude items from the collection of items returned by the data source</summary>
|
|
/// <returns>The string used to filter items out in the item collection returned by the data source. </returns>
|
|
// Token: 0x17000141 RID: 321
|
|
// (get) Token: 0x060004C0 RID: 1216
|
|
// (set) Token: 0x060004C1 RID: 1217
|
|
string Filter { get; set; }
|
|
|
|
/// <summary>Gets the collection of sort descriptions currently applied to the data source.</summary>
|
|
/// <returns>The <see cref="T:System.ComponentModel.ListSortDescriptionCollection" /> currently applied to the data source.</returns>
|
|
// Token: 0x17000142 RID: 322
|
|
// (get) Token: 0x060004C2 RID: 1218
|
|
ListSortDescriptionCollection SortDescriptions { get; }
|
|
|
|
/// <summary>Gets a value indicating whether the data source supports advanced sorting. </summary>
|
|
/// <returns>true if the data source supports advanced sorting; otherwise, false. </returns>
|
|
// Token: 0x17000143 RID: 323
|
|
// (get) Token: 0x060004C3 RID: 1219
|
|
bool SupportsAdvancedSorting { get; }
|
|
|
|
/// <summary>Gets a value indicating whether the data source supports filtering. </summary>
|
|
/// <returns>true if the data source supports filtering; otherwise, false. </returns>
|
|
// Token: 0x17000144 RID: 324
|
|
// (get) Token: 0x060004C4 RID: 1220
|
|
bool SupportsFiltering { get; }
|
|
|
|
/// <summary>Sorts the data source based on the given <see cref="T:System.ComponentModel.ListSortDescriptionCollection" />.</summary>
|
|
/// <param name="sorts">The <see cref="T:System.ComponentModel.ListSortDescriptionCollection" /> containing the sorts to apply to the data source.</param>
|
|
// Token: 0x060004C5 RID: 1221
|
|
void ApplySort(ListSortDescriptionCollection sorts);
|
|
|
|
/// <summary>Removes the current filter applied to the data source.</summary>
|
|
// Token: 0x060004C6 RID: 1222
|
|
void RemoveFilter();
|
|
}
|
|
}
|