SparklineGroupCollection.Remove(SparklineGroup) Method
Removes the specified sparkline group from the collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
bool Remove(
SparklineGroup item
)
#Parameters
Name | Type | Description |
---|---|---|
item | Sparkline |
A Sparkline |
#Returns
Type | Description |
---|---|
Boolean | true, if the specified sparkline group contained in the collection was successfully removed; otherwise, false. |
#Remarks
Note that calling the Remove method also disposes an element removed from the collection.
To remove a sparkline group at the specified index in the collection, use the SparklineGroupCollection.RemoveAt method. To remove all sparkline groups from the collection, use the SparklineGroupCollection.Clear method.
To add a new sparkline group to the collection, use the SparklineGroupCollection.Add method.