AnnotationRepository.Contains(Annotation) Method
Determines whether the collection contains the specified Annotation object.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
annotation | Annotation | An Annotation object to locate in the collection. |
Returns
Type | Description |
---|---|
Boolean | true if the collection contains the specified annotation; otherwise, false. |
Remarks
This method allows you to search for an annotation within all annotations present in a chart.
To search for an annotation within the collection of a particular element (a chart, pane or series point), use the corresponding AnnotationCollection.Contains method.
See Also