MainWindow.xaml - simplify static bindings

HoverLinkBehaviour - Always use BeginInvoke unless there's an explicit reason for using a sync action
EnvironmentConverter - Minor inconsistencies
This commit is contained in:
amaitland
2017-04-10 10:34:08 +10:00
parent 63d6b44f35
commit 866e3de796
3 changed files with 8 additions and 9 deletions

View File

@@ -1,9 +1,10 @@
using System;
using System.Globalization;
using System.Windows.Data;
namespace CefSharp.MinimalExample.Wpf.Converter
{
class EnvironmentConverter : System.Windows.Data.IValueConverter
public class EnvironmentConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
@@ -12,7 +13,7 @@ namespace CefSharp.MinimalExample.Wpf.Converter
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return System.Windows.Data.Binding.DoNothing;
return Binding.DoNothing;
}
}
}