UWUVCI-AIO-WPF/UWUVCI AIO WPF/UI/Frames/KeyFrame/TKFrame.xaml

26 lines
1.4 KiB
Text
Raw Normal View History

<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.KeyFrame.TKFrame"
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:UWUVCI_AIO_WPF.UI.Frames.KeyFrame"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="480" d:DesignWidth="1130"
Title="NDSFrame">
<Grid DataContext="{StaticResource mvm}">
<DataGrid Background="Transparent" AutoGenerateColumns="False" ItemsSource="{Binding Ltemp}" CanUserAddRows="False" CanUserDeleteRows="False" CanUserSortColumns="False" CanUserReorderColumns="False" SelectedItem="{Binding GbTemp}" MouseDoubleClick="DataGrid_MouseDoubleClick" IsReadOnly="True" Name="Grid" SelectionMode = "Single">
<DataGrid.Columns>
<DataGridTextColumn Header="Name" Binding="{Binding Name}" x:Name="Name" Width="Auto"/>
<DataGridTextColumn Header="Region" Binding="{Binding Region}" x:Name="Region" Width="Auto"/>
<DataGridTextColumn Header="Title ID" Binding="{Binding Tid}" x:Name="ID" Width="*"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
</Page>