1) Added Hover Link, ChromiumVersion, CefVersion, CefSharpVersion, ProcessInfo in Status Bar. 2) Added Back, Forward, Print and View source buttons and Addressbar. (#36)
Add Primary Navigation/Address Bar and Status bar
This commit is contained in:
committed by
Alex Maitland
parent
75ccd029e0
commit
63d6b44f35
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
namespace CefSharp.MinimalExample.Wpf.Converter
|
||||
{
|
||||
class EnvironmentConverter : System.Windows.Data.IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return Environment.Is64BitProcess ? "x64" : "x86";
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return System.Windows.Data.Binding.DoNothing;
|
||||
}
|
||||
}
|
||||
}
|
20
CefSharp.MinimalExample.Wpf/Converter/TitleConverter.cs
Normal file
20
CefSharp.MinimalExample.Wpf/Converter/TitleConverter.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace CefSharp.MinimalExample.Wpf.Converter
|
||||
{
|
||||
public class TitleConverter : IValueConverter
|
||||
{
|
||||
object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
|
||||
return "CefSharp.MinimalExample.Wpf - " + (value ?? "No Title Specified");
|
||||
}
|
||||
|
||||
object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return System.Windows.Data.Binding.DoNothing;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user