Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Charts/Legend items/LegendTopButtonToIsEnabledConverter.cs @ 13777

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

#2283 added GUI and charts; fixed MCTS

File size: 521 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Microsoft.Research.DynamicDataDisplay.Converters;
6
7namespace Microsoft.Research.DynamicDataDisplay.Charts
8{
9  internal sealed class LegendTopButtonToIsEnabledConverter : GenericValueConverter<double>
10  {
11    public override object ConvertCore(double value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
12    {
13      double verticalOffset = value;
14
15      return verticalOffset > 0;
16    }
17  }
18}
Note: See TracBrowser for help on using the repository browser.