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: 0x0200012E RID: 302
[Token(Token = "0x200012E")]
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: 0x1700015E RID: 350
// (get) Token: 0x0600078C RID: 1932
[Token(Token = "0x1700015E")]
bool AllowNew
{
[Token(Token = "0x600078C")]
[Address(Slot = "0")]
get;
}
/// Adds a new item to the list.
/// The item added to the list.
///
/// is .
// Token: 0x0600078D RID: 1933
[Token(Token = "0x600078D")]
[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: 0x1700015F RID: 351
// (get) Token: 0x0600078E RID: 1934
[Token(Token = "0x1700015F")]
bool AllowEdit
{
[Token(Token = "0x600078E")]
[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: 0x17000160 RID: 352
// (get) Token: 0x0600078F RID: 1935
[Token(Token = "0x17000160")]
bool AllowRemove
{
[Token(Token = "0x600078F")]
[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: 0x17000161 RID: 353
// (get) Token: 0x06000790 RID: 1936
[Token(Token = "0x17000161")]
bool SupportsChangeNotification
{
[Token(Token = "0x6000790")]
[Address(Slot = "4")]
get;
}
/// Gets whether the list supports searching using the method.
///
/// if the list supports searching using the method; otherwise, .
// Token: 0x17000162 RID: 354
// (get) Token: 0x06000791 RID: 1937
[Token(Token = "0x17000162")]
bool SupportsSearching
{
[Token(Token = "0x6000791")]
[Address(Slot = "5")]
get;
}
/// Gets whether the list supports sorting.
///
/// if the list supports sorting; otherwise, .
// Token: 0x17000163 RID: 355
// (get) Token: 0x06000792 RID: 1938
[Token(Token = "0x17000163")]
bool SupportsSorting
{
[Token(Token = "0x6000792")]
[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: 0x17000164 RID: 356
// (get) Token: 0x06000793 RID: 1939
[Token(Token = "0x17000164")]
bool IsSorted
{
[Token(Token = "0x6000793")]
[Address(Slot = "7")]
get;
}
/// Gets the that is being used for sorting.
/// The that is being used for sorting.
///
/// is .
// Token: 0x17000165 RID: 357
// (get) Token: 0x06000794 RID: 1940
[Token(Token = "0x17000165")]
PropertyDescriptor SortProperty
{
[Token(Token = "0x6000794")]
[Address(Slot = "8")]
get;
}
/// Gets the direction of the sort.
/// One of the values.
///
/// is .
// Token: 0x17000166 RID: 358
// (get) Token: 0x06000795 RID: 1941
[Token(Token = "0x17000166")]
ListSortDirection SortDirection
{
[Token(Token = "0x6000795")]
[Address(Slot = "9")]
get;
}
/// Occurs when the list changes or an item in the list changes.
// Token: 0x14000008 RID: 8
// (add) Token: 0x06000796 RID: 1942
// (remove) Token: 0x06000797 RID: 1943
[Token(Token = "0x14000008")]
event ListChangedEventHandler ListChanged;
/// Adds the to the indexes used for searching.
/// The to add to the indexes used for searching.
// Token: 0x06000798 RID: 1944
[Token(Token = "0x6000798")]
[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: 0x06000799 RID: 1945
[Token(Token = "0x6000799")]
[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: 0x0600079A RID: 1946
[Token(Token = "0x600079A")]
[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: 0x0600079B RID: 1947
[Token(Token = "0x600079B")]
[Address(Slot = "15")]
void RemoveIndex(PropertyDescriptor property);
/// Removes any sort applied using .
///
/// is .
// Token: 0x0600079C RID: 1948
[Token(Token = "0x600079C")]
[Address(Slot = "16")]
void RemoveSort();
}
}