Initial Commit
This commit is contained in:
18
Charts/Legend items/LegendTopButtonToIsEnabledConverter.cs
Normal file
18
Charts/Legend items/LegendTopButtonToIsEnabledConverter.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Microsoft.Research.DynamicDataDisplay.Converters;
|
||||
|
||||
namespace Microsoft.Research.DynamicDataDisplay.Charts
|
||||
{
|
||||
internal sealed class LegendTopButtonToIsEnabledConverter : GenericValueConverter<double>
|
||||
{
|
||||
public override object ConvertCore(double value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
double verticalOffset = value;
|
||||
|
||||
return verticalOffset > 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user