Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Charts/Axes/AxisControlBase.cs @ 12503

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

#2283 added GUI and charts; fixed MCTS

File size: 1.3 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Controls;
6using System.Windows;
7using System.Windows.Shapes;
8
9namespace Microsoft.Research.DynamicDataDisplay.Charts
10{
11  public abstract class AxisControlBase : ContentControl
12  {
13    #region Properties
14
15    public HorizontalAlignment LabelsHorizontalAlignment
16    {
17      get { return (HorizontalAlignment)GetValue(LabelsHorizontalAlignmentProperty); }
18      set { SetValue(LabelsHorizontalAlignmentProperty, value); }
19    }
20
21    public static readonly DependencyProperty LabelsHorizontalAlignmentProperty = DependencyProperty.Register(
22      "LabelsHorizontalAlignment",
23      typeof(HorizontalAlignment),
24      typeof(AxisControlBase),
25      new FrameworkPropertyMetadata(HorizontalAlignment.Center));
26
27
28    public VerticalAlignment LabelsVerticalAlignment
29    {
30      get { return (VerticalAlignment)GetValue(LabelsVerticalAlignmentProperty); }
31      set { SetValue(LabelsVerticalAlignmentProperty, value); }
32    }
33
34    public static readonly DependencyProperty LabelsVerticalAlignmentProperty = DependencyProperty.Register(
35      "LabelsVerticalAlignment",
36      typeof(VerticalAlignment),
37      typeof(AxisControlBase),
38      new FrameworkPropertyMetadata(VerticalAlignment.Center));
39
40    public abstract Path TicksPath { get; }
41
42    #endregion // end of Properties
43
44  }
45}
Note: See TracBrowser for help on using the repository browser.