Version

UnregisterRowsManager Method (RowsManagerBase)

When a RowsManager is no longer needed, this method should be called, to detach all events that are hooked up to avoid Memory leaks.
Syntax
'Declaration
 
Protected Friend Overridable Sub UnregisterRowsManager( _
   ByVal removeColumnLayout As Boolean, _
   ByVal clearChildRowsManager As Boolean, _
   ByVal clearSelection As Boolean _
) 
protected internal virtual void UnregisterRowsManager( 
   bool removeColumnLayout,
   bool clearChildRowsManager,
   bool clearSelection
)

Parameters

removeColumnLayout
Whether the ColumnLayout should be removed, or just its events.
clearChildRowsManager
Whether the ChildRowsManager should be disposed of on each row.
clearSelection
Whether the selected items should be unselected
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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