Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/PointMarkers/ElementPointMarker.cs @ 13792

Last change on this file since 13792 was 12503, checked in by aballeit, 9 years ago

#2283 added GUI and charts; fixed MCTS

File size: 851 bytes
Line 
1using System.Windows;
2
3namespace 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.