Xceed Toolkit Plus for WPF v4.6 Documentation
ClearItems Method (CellCollection)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > CellCollection Class : ClearItems Method
Removes all cells from the collection.
Syntax
'Declaration
 
Protected Overrides Sub ClearItems() 
'Usage
 
Dim instance As CellCollection
 
instance.ClearItems()
protected override void ClearItems()
Exceptions
ExceptionDescription
An attempt was made to remove a cell when the row is contained by a DataGridControl.
Remarks
This method will raise the CollectionChanged event.
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

Reference

CellCollection Class
CellCollection Members
Base Implementation in ClearItems

Methods

RemoveItem Method