From 0edb2c98647497ebadbac71b2704c63ca539525b Mon Sep 17 00:00:00 2001 From: hj615 Date: Thu, 14 Aug 2025 15:11:26 +0900 Subject: [PATCH] =?UTF-8?q?desgin:=20DataGrid=20=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SmartAquaViewer/Resources/Generic.xaml | 20 +++++ SmartAquaViewer/View/MonitoringView.xaml | 99 +++++++++++++++--------- 2 files changed, 83 insertions(+), 36 deletions(-) diff --git a/SmartAquaViewer/Resources/Generic.xaml b/SmartAquaViewer/Resources/Generic.xaml index 3b5e037..05f7c9e 100644 --- a/SmartAquaViewer/Resources/Generic.xaml +++ b/SmartAquaViewer/Resources/Generic.xaml @@ -115,6 +115,26 @@ + + + + + + \ No newline at end of file diff --git a/SmartAquaViewer/View/MonitoringView.xaml b/SmartAquaViewer/View/MonitoringView.xaml index 61878f4..14a4744 100644 --- a/SmartAquaViewer/View/MonitoringView.xaml +++ b/SmartAquaViewer/View/MonitoringView.xaml @@ -26,39 +26,44 @@ + HorizontalAlignment="Center"> - + - - + - + Style="{StaticResource DataGridStyle}" + RowStyle="{StaticResource DataGridRowStyle}" + ColumnHeaderStyle="{StaticResource DataGridColumnHeaderStyle}"> + Binding="{Binding RecordedTime, StringFormat=\{0:HH:mm:ss\}}" + ElementStyle="{StaticResource DataGridElmenetStyle}"/> - - - - - - + + + + + @@ -70,43 +75,65 @@ - + + Binding="{Binding RecordedTime, StringFormat=\{0:HH:mm:ss\}}" + ElementStyle="{StaticResource DataGridElmenetStyle}"/> - - - - - - - - - - - - + + + + + + + + + + + + - + HorizontalAlignment="Center" Visibility="Collapsed"> + + Binding="{Binding RecordedTime, StringFormat=\{0:HH:mm:ss\}}" + ElementStyle="{StaticResource DataGridElmenetStyle}"/> - - - - - - + + + + + +