Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <!--<Label Content="The browser area" FontSize="14" FontWeight="Bold" Padding="2" FontFamily="Segoe WP" />-->
- <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Stretch">
- <Button Content="<-" Padding="10" Command="BrowseBack" CommandTarget="{Binding ElementName=TestWebBrowser}" />
- <Button Content="->" Padding="10" Command="BrowseForward" CommandTarget="{Binding ElementName=TestWebBrowser}" />
- <Button Content="--@--" Padding="10" Command="Refresh" CommandTarget="{Binding ElementName=TestWebBrowser}" />
- <TextBox Text="{Binding ElementName=TestWebBrowser, Path=BindableSource}" HorizontalAlignment="Left" HorizontalContentAlignment="Stretch"/>
- </StackPanel>
- <local:BindableWebBrowser Grid.Row="1" x:Name="TestWebBrowser" BindableSource="{Binding YourUrl}">
- </local:BindableWebBrowser>
- </Grid>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement