The Labs \ Source Viewer \ SSCLI \ System.ComponentModel \ IBindingList

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IBindingList.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Scope = "type", Target = "System.ComponentModel.IBindingList")]
  16. namespace System.ComponentModel
  17. {
  18.     using System.Collections;
  19.    
  20.     /// <devdoc>
  21.     /// <para>[To be supplied.]</para>
  22.     /// </devdoc>
  23.     public interface IBindingList : IList
  24.     {
  25.         /// <devdoc>
  26.         /// <para>[To be supplied.]</para>
  27.         /// </devdoc>
  28.         bool AllowNew {
  29.             get;
  30.         }
  31.         /// <devdoc>
  32.         /// <para>[To be supplied.]</para>
  33.         /// </devdoc>
  34.         object AddNew();
  35.         /// <devdoc>
  36.         /// <para>[To be supplied.]</para>
  37.         /// </devdoc>
  38.        
  39.         bool AllowEdit {
  40.             get;
  41.         }
  42.         /// <devdoc>
  43.         /// <para>[To be supplied.]</para>
  44.         /// </devdoc>
  45.         bool AllowRemove {
  46.             get;
  47.         }
  48.         /// <devdoc>
  49.         /// <para>[To be supplied.]</para>
  50.         /// </devdoc>
  51.        
  52.         bool SupportsChangeNotification {
  53.             get;
  54.         }
  55.         /// <devdoc>
  56.         /// <para>[To be supplied.]</para>
  57.         /// </devdoc>
  58.        
  59.         bool SupportsSearching {
  60.             get;
  61.         }
  62.         /// <devdoc>
  63.         /// <para>[To be supplied.]</para>
  64.         /// </devdoc>
  65.        
  66.         bool SupportsSorting {
  67.             get;
  68.         }
  69.         /// <devdoc>
  70.         /// <para>[To be supplied.]</para>
  71.         /// </devdoc>
  72.        
  73.         bool IsSorted {
  74.             get;
  75.         }
  76.         /// <devdoc>
  77.         /// <para>[To be supplied.]</para>
  78.         /// </devdoc>
  79.         PropertyDescriptor SortProperty {
  80.             get;
  81.         }
  82.         /// <devdoc>
  83.         /// <para>[To be supplied.]</para>
  84.         /// </devdoc>
  85.         ListSortDirection SortDirection {
  86.             get;
  87.         }
  88.         /// <devdoc>
  89.         /// <para>[To be supplied.]</para>
  90.         /// </devdoc>
  91.        
  92.         event ListChangedEventHandler ListChanged;
  93.         /// <devdoc>
  94.         /// <para>[To be supplied.]</para>
  95.         /// </devdoc>
  96.        
  97.         void AddIndex(PropertyDescriptor property);
  98.         /// <devdoc>
  99.         /// <para>[To be supplied.]</para>
  100.         /// </devdoc>
  101.         void ApplySort(PropertyDescriptor property, ListSortDirection direction);
  102.         /// <devdoc>
  103.         /// <para>[To be supplied.]</para>
  104.         /// </devdoc>
  105.         int Find(PropertyDescriptor property, object key);
  106.         /// <devdoc>
  107.         /// <para>[To be supplied.]</para>
  108.         /// </devdoc>
  109.         void RemoveIndex(PropertyDescriptor property);
  110.         /// <devdoc>
  111.         /// <para>[To be supplied.]</para>
  112.         /// </devdoc>
  113.         void RemoveSort();
  114.     }
  115. }

Developer Fusion