mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
* Use XamlStyler to check XAML formatting * fix spellcheck * fix * format XAML FLS, Hosts, ImageResizer, MeasureTool, PowerRename * format XAML Peek * exclude settings XAML and make CI pass * doc
27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
|
|
<!-- Licensed under the MIT License. See LICENSE in the project root for license information. -->
|
|
|
|
<UserControl
|
|
x:Class="Peek.FilePreviewer.Controls.BrowserControl"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:controls="using:Microsoft.UI.Xaml.Controls"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="using:Peek.FilePreviewer.Controls"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d">
|
|
|
|
<Grid>
|
|
<controls:WebView2
|
|
x:Name="PreviewBrowser"
|
|
Loaded="PreviewWV2_Loaded"
|
|
NavigationCompleted="PreviewWV2_NavigationCompleted"
|
|
NavigationStarting="PreviewBrowser_NavigationStarting" />
|
|
<ContentDialog
|
|
x:Name="OpenUriDialog"
|
|
x:Uid="OpenUriDialog"
|
|
PrimaryButtonStyle="{ThemeResource AccentButtonStyle}"
|
|
SecondaryButtonClick="OpenUriDialog_SecondaryButtonClick" />
|
|
</Grid>
|
|
</UserControl>
|