Skip to content

Commit 43362fe

Browse files
committed
Added a blank FileViewer control
1 parent bd64c98 commit 43362fe

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

Files/Controls/FileViewControl.xaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<UserControl
2+
x:Class="Files.Controls.FileViewControl"
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:local="using:Files.Controls"
6+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8+
mc:Ignorable="d"
9+
d:DesignHeight="300"
10+
d:DesignWidth="400">
11+
12+
<Grid>
13+
14+
</Grid>
15+
</UserControl>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.IO;
4+
using System.Linq;
5+
using System.Runtime.InteropServices.WindowsRuntime;
6+
using Windows.Foundation;
7+
using Windows.Foundation.Collections;
8+
using Windows.UI.Xaml;
9+
using Windows.UI.Xaml.Controls;
10+
using Windows.UI.Xaml.Controls.Primitives;
11+
using Windows.UI.Xaml.Data;
12+
using Windows.UI.Xaml.Input;
13+
using Windows.UI.Xaml.Media;
14+
using Windows.UI.Xaml.Navigation;
15+
16+
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
17+
18+
namespace Files.Controls
19+
{
20+
public sealed partial class FileViewControl : UserControl
21+
{
22+
public FileViewControl()
23+
{
24+
this.InitializeComponent();
25+
}
26+
}
27+
}

Files/Files.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@
135135
<DependentUpon>App.xaml</DependentUpon>
136136
</Compile>
137137
<Compile Include="BaseLayout.cs" />
138+
<Compile Include="Controls\FileViewControl.xaml.cs">
139+
<DependentUpon>FileViewControl.xaml</DependentUpon>
140+
</Compile>
138141
<Compile Include="Controls\RibbonArea.xaml.cs">
139142
<DependentUpon>RibbonArea.xaml</DependentUpon>
140143
</Compile>
@@ -249,6 +252,10 @@
249252
<Generator>MSBuild:Compile</Generator>
250253
<SubType>Designer</SubType>
251254
</ApplicationDefinition>
255+
<Page Include="Controls\FileViewControl.xaml">
256+
<SubType>Designer</SubType>
257+
<Generator>MSBuild:Compile</Generator>
258+
</Page>
252259
<Page Include="Controls\RibbonArea.xaml">
253260
<SubType>Designer</SubType>
254261
<Generator>MSBuild:Compile</Generator>

0 commit comments

Comments
 (0)