Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Charts/Axes/LabelProviderProperties.cs @ 13749

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

#2283 added GUI and charts; fixed MCTS

File size: 807 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows;
6
7namespace Microsoft.Research.DynamicDataDisplay.Charts.Axes
8{
9  internal class LabelProviderProperties : DependencyObject
10  {
11    public static bool GetExponentialIsCommonLabel(DependencyObject obj)
12    {
13      return (bool)obj.GetValue(ExponentialIsCommonLabelProperty);
14    }
15
16    public static void SetExponentialIsCommonLabel(DependencyObject obj, bool value)
17    {
18      obj.SetValue(ExponentialIsCommonLabelProperty, value);
19    }
20
21    public static readonly DependencyProperty ExponentialIsCommonLabelProperty = DependencyProperty.RegisterAttached(
22      "ExponentialIsCommonLabel",
23      typeof(bool),
24      typeof(LabelProviderProperties),
25      new FrameworkPropertyMetadata(true));
26  }
27}
Note: See TracBrowser for help on using the repository browser.