-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathHtmlPreview.xaml
More file actions
27 lines (24 loc) · 880 Bytes
/
HtmlPreview.xaml
File metadata and controls
27 lines (24 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
<UserControl
x:Class="Files.App.UserControls.FilePreviews.HtmlPreview"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:Files.App.UserControls.FilePreviews"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="300"
d:DesignWidth="400"
mc:Ignorable="d">
<Border
x:Name="RootGrid"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
CornerRadius="{StaticResource ControlCornerRadius}">
<WebView2
x:Name="WebViewControl"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
DefaultBackgroundColor="Transparent"
Loaded="WebViewControl_Loaded" />
</Border>
</UserControl>