Line | |
---|
1 | using System.Windows;
|
---|
2 |
|
---|
3 | namespace Microsoft.Research.DynamicDataDisplay.PointMarkers
|
---|
4 | {
|
---|
5 | /// <summary>Provides elements that represent markers along the graph</summary>
|
---|
6 | public abstract class ElementPointMarker : DependencyObject {
|
---|
7 |
|
---|
8 | /// <summary>Creates marker element at specified point</summary>
|
---|
9 | /// <returns>UIElement representing marker</returns>
|
---|
10 | public abstract UIElement CreateMarker();
|
---|
11 |
|
---|
12 | public abstract void SetMarkerProperties(UIElement marker);
|
---|
13 |
|
---|
14 | /// <summary>Moves specified marker so its center is located at specified screen point</summary>
|
---|
15 | /// <param name="marker">UIElement created using CreateMarker</param>
|
---|
16 | /// <param name="screenPoint">Point to center element around</param>
|
---|
17 | public abstract void SetPosition(UIElement marker, Point screenPoint);
|
---|
18 | }
|
---|
19 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.