Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <UserControl x:Class="WpfTutorialSamples.Misc_controls.WebBrowserControlSample"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Height="1080" Width="1920">
- <DockPanel>
- <ToolBar DockPanel.Dock="Top">
- <Button Command="NavigationCommands.BrowseBack">
- <Rectangle Width="16" Height="16" />
- </Button>
- <Button Command="NavigationCommands.BrowseForward">
- <Rectangle Width="16" Height="16" />
- </Button>
- <Separator />
- <TextBox Name="txtUrl" Width="300" KeyUp="txtUrl_KeyUp" />
- <Button Command="NavigationCommands.GoToPage">
- <Rectangle Width="16" Height="16" />
- </Button>
- </ToolBar>
- <WebBrowser Name="wbSample" Navigating="wbSample_Navigating"></WebBrowser>
- </DockPanel>
- </UserControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement