Improved the example UI Bindings.

This commit is contained in:
Michel Feinstein 2016-10-23 17:36:44 -02:00
parent baf1941236
commit 0dd84bc65b

View File

@ -10,17 +10,17 @@
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<wpf:ChromiumWebBrowser Grid.Row="0"
x:Name="Browser"
Address="http://www.google.com" />
x:Name="Browser"
Address="http://www.google.com" />
<StatusBar Grid.Row="1">
<ProgressBar HorizontalAlignment="Right"
IsIndeterminate="{Binding WebBrowser.IsLoading}"
IsIndeterminate="{Binding IsLoading, ElementName=Browser}"
Width="100"
Height="16"
Margin="3" />
<Separator />
<!-- TODO: Could show hover link URL here -->
<TextBlock />
<TextBlock Text="{Binding Address, ElementName=Browser}"/>
</StatusBar>
</Grid>
</Window>