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

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