mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 09:49:07 +00:00
Add csv viewer
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:QuickLook.Plugin.CsvViewer"
|
||||
x:Name="csvViewer"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="300" d:DesignWidth="300">
|
||||
<Grid>
|
||||
<DataGrid x:Name="dataGrid" AlternationCount="2" BorderThickness="0" Background="Transparent"
|
||||
RowBackground="Transparent" GridLinesVisibility="None"
|
||||
IsReadOnly="True" HeadersVisibility="None"
|
||||
AutoGenerateColumns="False" CanUserReorderColumns="False"
|
||||
ItemsSource="{Binding Path=Rows,ElementName=csvViewer}" AlternatingRowBackground="#99ECECEC" />
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
Reference in New Issue
Block a user