Skip to content

Commit 0dd84bc

Browse files
author
Michel Feinstein
committed
Improved the example UI Bindings.
1 parent baf1941 commit 0dd84bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CefSharp.MinimalExample.Wpf/MainWindow.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
<RowDefinition Height="Auto" />
1111
</Grid.RowDefinitions>
1212
<wpf:ChromiumWebBrowser Grid.Row="0"
13-
x:Name="Browser"
14-
Address="http://www.google.com" />
13+
x:Name="Browser"
14+
Address="http://www.google.com" />
1515
<StatusBar Grid.Row="1">
1616
<ProgressBar HorizontalAlignment="Right"
17-
IsIndeterminate="{Binding WebBrowser.IsLoading}"
17+
IsIndeterminate="{Binding IsLoading, ElementName=Browser}"
1818
Width="100"
1919
Height="16"
2020
Margin="3" />
2121
<Separator />
2222
<!-- TODO: Could show hover link URL here -->
23-
<TextBlock />
23+
<TextBlock Text="{Binding Address, ElementName=Browser}"/>
2424
</StatusBar>
2525
</Grid>
2626
</Window>

0 commit comments

Comments
 (0)