-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathCsvViewerPanel.xaml
More file actions
38 lines (38 loc) · 1.75 KB
/
CsvViewerPanel.xaml
File metadata and controls
38 lines (38 loc) · 1.75 KB
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
28
29
30
31
32
33
34
35
36
37
38
<UserControl x:Class="QuickLook.Plugin.CsvViewer.CsvViewerPanel"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:QuickLook.Plugin.CsvViewer.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:QuickLook.Plugin.CsvViewer"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
x:Name="csvViewer"
d:DesignHeight="300"
d:DesignWidth="300"
Focusable="True"
mc:Ignorable="d">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="DataGrid.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid>
<DataGrid Name="dataGrid"
AlternatingRowBackground="#1900FF70"
AlternationCount="2"
AutoGenerateColumns="False"
Background="#00FFFFFF"
BorderThickness="0"
CanUserReorderColumns="False"
Foreground="{DynamicResource WindowTextForeground}"
HeadersVisibility="None"
HorizontalGridLinesBrush="#19000000"
IsReadOnly="True"
ItemsSource="{Binding Path=Rows, ElementName=csvViewer}"
RowBackground="#00FFFFFF"
VerticalGridLinesBrush="#19000000" />
<controls:SearchPanel x:Name="searchPanel"
Visibility="Collapsed" />
</Grid>
</UserControl>