MultiEditorRowPropertiesCollection.Clear() Method
Removes all row items from the MultiEditorRow.PropertiesCollection.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
Remarks
You can use the Clear method to empty the row item collection represented by the MultiEditorRow.PropertiesCollection property. Each row item in the collection represents an individual row properties object of a multi-editor row. When you remove items from the collection, all information about deleted row items is lost.
Note: The collection’s MultiEditorRowPropertiesCollection.Count property is automatically set to 0 after this method is used.
Note that the VGridControlBase.RowChanged event occurs only once after all row items are removed from the collection. The event parameter’s RowChangedEventArgs.ChangeType property representing the type of row processing performed returns the RowChangeTypeEnum.PropertiesCleared value.
To remove a single row item from the collection, use the MultiEditorRowPropertiesCollection.Remove or the MultiEditorRowPropertiesCollection.RemoveAt method.
To add new row item objects to the collection, use the MultiEditorRowPropertiesCollection.Add method. Existing row items can be added to the collection with the help of the MultiEditorRowPropertiesCollection.AddRange method.