編輯

共用方式為


CollectionViewSource.OnCollectionViewTypeChanged(Type, Type) Method

Definition

Invoked when the CollectionViewType property changes.

protected:
 virtual void OnCollectionViewTypeChanged(Type ^ oldCollectionViewType, Type ^ newCollectionViewType);
protected virtual void OnCollectionViewTypeChanged (Type oldCollectionViewType, Type newCollectionViewType);
abstract member OnCollectionViewTypeChanged : Type * Type -> unit
override this.OnCollectionViewTypeChanged : Type * Type -> unit
Protected Overridable Sub OnCollectionViewTypeChanged (oldCollectionViewType As Type, newCollectionViewType As Type)

Parameters

oldCollectionViewType
Type

The old value of the CollectionViewType property.

newCollectionViewType
Type

The new value of the CollectionViewType property.

Applies to