Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridCollectionViewSource Class / OnCollectionViewTypeChanged Method
The old value of the CollectionViewType property.
The new value of the CollectionViewType property.


In This Topic
    OnCollectionViewTypeChanged Method (DataGridCollectionViewSource)
    In This Topic
    Raised when the CollectionViewType property is changed.
    Syntax
    'Declaration
     
    Protected Overrides NotOverridable Sub OnCollectionViewTypeChanged( _
       ByVal oldCollectionViewType As Type, _
       ByVal newCollectionViewType As Type _
    ) 
    'Usage
     
    Dim instance As DataGridCollectionViewSource
    Dim oldCollectionViewType As Type
    Dim newCollectionViewType As Type
     
    instance.OnCollectionViewTypeChanged(oldCollectionViewType, newCollectionViewType)
    protected override void OnCollectionViewTypeChanged( 
       Type oldCollectionViewType,
       Type newCollectionViewType
    )

    Parameters

    oldCollectionViewType
    The old value of the CollectionViewType property.
    newCollectionViewType
    The new value of the CollectionViewType property.
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also