Merge pull request #28 from feinstein/feature/improve-ui

Improved the example UI Bindings.
This commit is contained in:
Alex Maitland 2016-10-24 08:36:16 +10:00 committed by GitHub
commit 801a8ff4f5

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>