File: System\ComponentModel\IBindingList.cs
Web Access
Project: src\src\libraries\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj (System.ComponentModel.TypeConverter)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Collections;
using System.Diagnostics.CodeAnalysis;
 
namespace System.ComponentModel
{
    public interface IBindingList : IList
    {
        bool AllowNew { get; }
 
        object? AddNew();
 
        bool AllowEdit { get; }
 
        bool AllowRemove { get; }
 
        bool SupportsChangeNotification { get; }
 
        bool SupportsSearching { get; }
 
        bool SupportsSorting { get; }
 
        bool IsSorted { get; }
 
        PropertyDescriptor? SortProperty { get; }
 
        ListSortDirection SortDirection { get; }
 
        event ListChangedEventHandler ListChanged;
 
        void AddIndex(PropertyDescriptor property);
 
        void ApplySort(PropertyDescriptor property, ListSortDirection direction);
 
        int Find(PropertyDescriptor property, object key);
 
        void RemoveIndex(PropertyDescriptor property);
 
        void RemoveSort();
    }
}