using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Provides the features required to support both complex and simple scenarios when binding to a data source.
// Token: 0x0200012A RID: 298
[Token(Token = "0x200012A")]
public interface IBindingList : IList, ICollection, IEnumerable
{
/// Gets whether you can add items to the list using .
///
/// if you can add items to the list using ; otherwise, .
// Token: 0x1700015A RID: 346
// (get) Token: 0x06000776 RID: 1910
[Token(Token = "0x1700015A")]
bool AllowNew
{
[Token(Token = "0x6000776")]
[Address(Slot = "0")]
get;
}
/// Adds a new item to the list.
/// The item added to the list.
///
/// is .
// Token: 0x06000777 RID: 1911
[Token(Token = "0x6000777")]
[Address(Slot = "1")]
object AddNew();
/// Gets whether you can update items in the list.
///
/// if you can update the items in the list; otherwise, .
// Token: 0x1700015B RID: 347
// (get) Token: 0x06000778 RID: 1912
[Token(Token = "0x1700015B")]
bool AllowEdit
{
[Token(Token = "0x6000778")]
[Address(Slot = "2")]
get;
}
/// Gets whether you can remove items from the list, using or .
///
/// if you can remove items from the list; otherwise, .
// Token: 0x1700015C RID: 348
// (get) Token: 0x06000779 RID: 1913
[Token(Token = "0x1700015C")]
bool AllowRemove
{
[Token(Token = "0x6000779")]
[Address(Slot = "3")]
get;
}
/// Gets whether a event is raised when the list changes or an item in the list changes.
///
/// if a event is raised when the list changes or when an item changes; otherwise, .
// Token: 0x1700015D RID: 349
// (get) Token: 0x0600077A RID: 1914
[Token(Token = "0x1700015D")]
bool SupportsChangeNotification
{
[Token(Token = "0x600077A")]
[Address(Slot = "4")]
get;
}
/// Gets whether the list supports searching using the method.
///
/// if the list supports searching using the method; otherwise, .
// Token: 0x1700015E RID: 350
// (get) Token: 0x0600077B RID: 1915
[Token(Token = "0x1700015E")]
bool SupportsSearching
{
[Token(Token = "0x600077B")]
[Address(Slot = "5")]
get;
}
/// Gets whether the list supports sorting.
///
/// if the list supports sorting; otherwise, .
// Token: 0x1700015F RID: 351
// (get) Token: 0x0600077C RID: 1916
[Token(Token = "0x1700015F")]
bool SupportsSorting
{
[Token(Token = "0x600077C")]
[Address(Slot = "6")]
get;
}
/// Gets whether the items in the list are sorted.
///
/// if has been called and has not been called; otherwise, .
///
/// is .
// Token: 0x17000160 RID: 352
// (get) Token: 0x0600077D RID: 1917
[Token(Token = "0x17000160")]
bool IsSorted
{
[Token(Token = "0x600077D")]
[Address(Slot = "7")]
get;
}
/// Gets the that is being used for sorting.
/// The that is being used for sorting.
///
/// is .
// Token: 0x17000161 RID: 353
// (get) Token: 0x0600077E RID: 1918
[Token(Token = "0x17000161")]
PropertyDescriptor SortProperty
{
[Token(Token = "0x600077E")]
[Address(Slot = "8")]
get;
}
/// Gets the direction of the sort.
/// One of the values.
///
/// is .
// Token: 0x17000162 RID: 354
// (get) Token: 0x0600077F RID: 1919
[Token(Token = "0x17000162")]
ListSortDirection SortDirection
{
[Token(Token = "0x600077F")]
[Address(Slot = "9")]
get;
}
/// Occurs when the list changes or an item in the list changes.
// Token: 0x14000007 RID: 7
// (add) Token: 0x06000780 RID: 1920
// (remove) Token: 0x06000781 RID: 1921
[Token(Token = "0x14000007")]
event ListChangedEventHandler ListChanged;
/// Adds the to the indexes used for searching.
/// The to add to the indexes used for searching.
// Token: 0x06000782 RID: 1922
[Token(Token = "0x6000782")]
[Address(Slot = "12")]
void AddIndex(PropertyDescriptor property);
/// Sorts the list based on a and a .
/// The to sort by.
/// One of the values.
///
/// is .
// Token: 0x06000783 RID: 1923
[Token(Token = "0x6000783")]
[Address(Slot = "13")]
void ApplySort(PropertyDescriptor property, ListSortDirection direction);
/// Returns the index of the row that has the given .
/// The to search on.
/// The value of the parameter to search for.
/// The index of the row that has the given .
///
/// is .
// Token: 0x06000784 RID: 1924
[Token(Token = "0x6000784")]
[Address(Slot = "14")]
int Find(PropertyDescriptor property, object key);
/// Removes the from the indexes used for searching.
/// The to remove from the indexes used for searching.
// Token: 0x06000785 RID: 1925
[Token(Token = "0x6000785")]
[Address(Slot = "15")]
void RemoveIndex(PropertyDescriptor property);
/// Removes any sort applied using .
///
/// is .
// Token: 0x06000786 RID: 1926
[Token(Token = "0x6000786")]
[Address(Slot = "16")]
void RemoveSort();
}
}