AnnotationCollection
Contains a collection of IAnnotation derived types, which allow custom drawing elements over or under the parent UltrachartSurface
Hereda de: ObservableCollection<IAnnotation>
Implementa: IXmlSerializable
Constructores
AnnotationCollection()
Initializes a new instance of the AnnotationCollection class.
AnnotationCollection(IEnumerable<IAnnotation>)
Initializes a new instance of the AnnotationCollection class.
Propiedades
ParentSurface : IUltrachartSurface
Gets or sets the parent UltrachartSurface to perform operations on
Métodos
ClearItems()
Clears all Annotations from the parent UltrachartSurface
DeselectAll()
Deselects all annotations in the AnnotationCollection
GetSchema() : XmlSchema
Returns an XmlSchema that describes the XML representation of the object that is produced by the WriteXml method and consumed by the ReadXml method
OnXAxesCollectionChanged(object, NotifyCollectionChangedEventArgs)
Called with the XAxesAxisCollection changes
OnYAxesCollectionChanged(object, NotifyCollectionChangedEventArgs)
Called with the YAxesAxisCollection changes
SubscribeSurfaceEvents(IUltrachartSurface)
Subscribes the AnnotationCollection to events on the parent UltrachartSurface. Should be called internally by the Annotations API when attaching to a surface.
- parentSurface
- The parent UltrachartSurface
TrySelectAnnotation(IAnnotation) : bool
Gets attempt to select annotation, and returns whether attempt was successful or not
- annotationBase
- Annotation IAnnotation for selection
UnsubscribeSurfaceEvents(IUltrachartSurface)
Unsubscribes the AnnotationCollection to events on the parent UltrachartSurface. Should be called internally by the Annotations API when detaching from a surface.
- parentSurface
- The parent UltrachartSurface