|
4 | 4 | xmlns:wpf="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf" |
5 | 5 | xmlns:cef="clr-namespace:CefSharp;assembly=CefSharp.Core" |
6 | 6 | xmlns:behaviours="clr-namespace:CefSharp.MinimalExample.Wpf.Behaviours" |
7 | | - xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
| 7 | + xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors" |
8 | 8 | Title="{Binding Path=Title, ElementName=Browser, Converter={StaticResource TitleConverter}}" |
9 | 9 | WindowState="Maximized"> |
10 | 10 | <Grid> |
|
32 | 32 | <Button Content="Back" Command="{Binding WebBrowser.BackCommand, ElementName=Browser}" Width="50"/> |
33 | 33 | <Button Content="Forward" Command="{Binding WebBrowser.ForwardCommand, ElementName=Browser}" Grid.Column="1" Width="60"/> |
34 | 34 | <TextBox x:Name="txtBoxAddress" Text="{Binding Address, ElementName=Browser, FallbackValue=www.google.com}" Grid.Column="2" FontSize="12" BorderBrush="Gray" BorderThickness="1"> |
35 | | - <i:Interaction.Behaviors> |
| 35 | + <behaviors:Interaction.Behaviors> |
36 | 36 | <behaviours:TextBoxBindingUpdateOnEnterBehaviour /> |
37 | | - </i:Interaction.Behaviors> |
| 37 | + </behaviors:Interaction.Behaviors> |
38 | 38 | </TextBox> |
39 | 39 | <Button Content="Print..." Command="{Binding WebBrowser.PrintCommand, ElementName=Browser}" Grid.Column="3" Width="50" /> |
40 | 40 | <Button Content="View source" Command="{Binding WebBrowser.ViewSourceCommand, ElementName=Browser}" Grid.Column="4" Width="75" /> |
41 | 41 | </Grid> |
42 | 42 | <Border Grid.Row="1" BorderBrush="Gray" BorderThickness="0,1"> |
43 | 43 | <wpf:ChromiumWebBrowser x:Name="Browser" |
44 | 44 | Address="www.google.com"> |
45 | | - <i:Interaction.Behaviors> |
| 45 | + <behaviors:Interaction.Behaviors> |
46 | 46 | <behaviours:HoverLinkBehaviour x:Name="HoverLinkBehaviour"/> |
47 | | - </i:Interaction.Behaviors> |
| 47 | + </behaviors:Interaction.Behaviors> |
48 | 48 | </wpf:ChromiumWebBrowser> |
49 | 49 | </Border> |
50 | 50 | <ProgressBar IsIndeterminate="{Binding IsLoading, ElementName=Browser}" |
|
0 commit comments