Freigeben über


CollectionViewSource.OnCollectionViewTypeChanged Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Invoked when the collection view type changes.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Protected Overridable Sub OnCollectionViewTypeChanged ( _
    oldCollectionViewType As Type, _
    newCollectionViewType As Type _
)
protected virtual void OnCollectionViewTypeChanged(
    Type oldCollectionViewType,
    Type newCollectionViewType
)

Parameters

  • oldCollectionViewType
    Type: System.Type
    The old collection view type.
  • newCollectionViewType
    Type: System.Type
    The new collection view type.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.