AnnotationRepository.Swap(Annotation, Annotation) Method
Swaps the two specified annotations within the collection.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public void Swap(
Annotation annotation1,
Annotation annotation2
)
#Parameters
Name | Type | Description |
---|---|---|
annotation1 | Annotation | An Annotation object which specifies the first annotation to swap. If null, then the Argument |
annotation2 | Annotation | An Annotation object which specifies the second annotation to swap. If null, then the Argument |
#Remarks
Use this method to quickly swap the values of two collection items with each other.