DetachViewModels Method (SourceCollectionBase<TView,TViewModel>)
Called when view models are being detached from the collection.
Override this method in derived classes to perform custom detachment logic (e.g., unregistering from synchronization groups).
Syntax
protected virtual void DetachViewModels( IEnumerable<TViewModel> viewModels )
Parameters
- viewModels
- The collection of view models being detached.
Requirements
Target Platforms: 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