AnnotationCreationModifier
A custom ChartModifierBase to be used in conjunction with the AnnotationCollection. The AnnotationCreationModifier allows creation of annotations on mouse-click and drag. See the example of use CreateAnnotationsDynamically in the examples-suite
Наследует: ChartModifierBase
Свойства
Annotation : IAnnotation
Gets the newly created IAnnotation
AnnotationStyle : Style
Gets or sets a Style to apply to the annotation being created
AnnotationType : Type
Gets or sets the type of the annotation to create
Методы
CreateAnnotation(Type, Style) : AnnotationBase
Creates an annotation of the specified Type and applies the style to it
- annotationType
- The Type of annotation to create
- annotationStyle
- The style to apply to the annotation
Возвращает: The annotation instance
OnAnnotationCreated()
Called when [annotation created].
OnIsEnabledChanged()
Called when the IsEnabled property changes on this ChartModifierBase instance
OnModifierMouseMove(ModifierMouseArgs)
Called when the Mouse is moved on the parent UltrachartSurface
- mouseEventArgs
- Arguments detailing the mouse move operation
OnModifierMouseUp(ModifierMouseArgs)
Called when a Mouse Button is released on the parent UltrachartSurface
- mouseButtonEventArgs
- Arguments detailing the mouse button operation
События
AnnotationCreated : EventHandler
Event raised when an annotation is created
Поля
XAxisIdProperty : DependencyProperty
Defines the XAxisId DependencyProperty
YAxisIdProperty : DependencyProperty
Defines the YAxisId DependencyProperty