ObservableCollectionExtensions ObservableCollectionExtensions Class

Extension methods for .

Syntax

Declaration

public static class ObservableCollectionExtensionsPublic Module ObservableCollectionExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • ObservableCollectionExtensions
    ObservableCollectionExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Returns an implementation that stays in sync with the given

.

Methods

  • ToBindingList<T>(ObservableCollection<T>)
    ToBindingList(Of T)(ObservableCollection(Of T))

    Returns an implementation that stays in sync with the given

    .

    public static BindingList<T> ToBindingList<T>(this ObservableCollection<T> source)where T : class<ExtensionAttribute>
    Public Shared Function ToBindingList(Of T As Class)(source As ObservableCollection(Of T)) As BindingList(Of T)

    Parameters

    • source
      ObservableCollection<><T>
      ObservableCollection<>(Of T)

      The collection that the binding list will stay in sync with.

    Returns

    • BindingList<><T>
      BindingList<>(Of T)

      The binding list.

Details

Assembly

Microsoft.EntityFrameworkCore.dll