using System.Windows; namespace Microsoft.Research.DynamicDataDisplay.PointMarkers { /// Provides elements that represent markers along the graph public abstract class ElementPointMarker : DependencyObject { /// Creates marker element at specified point /// UIElement representing marker public abstract UIElement CreateMarker(); public abstract void SetMarkerProperties(UIElement marker); /// Moves specified marker so its center is located at specified screen point /// UIElement created using CreateMarker /// Point to center element around public abstract void SetPosition(UIElement marker, Point screenPoint); } }