Skip to content

Commit 76b3c55

Browse files
committed
接続の背景色と文字色の変更を即座に反映させるようにした
1 parent e8565e8 commit 76b3c55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MultiCommentViewer/Views/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
>
349349
<DataGridTemplateColumn.CellTemplate>
350350
<DataTemplate>
351-
<xctk:ColorPicker SelectedColor="{Binding BackColor}" Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" />
351+
<xctk:ColorPicker SelectedColor="{Binding BackColor, UpdateSourceTrigger=PropertyChanged}" Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" />
352352
</DataTemplate>
353353
</DataGridTemplateColumn.CellTemplate>
354354
</DataGridTemplateColumn>
@@ -360,7 +360,7 @@
360360
>
361361
<DataGridTemplateColumn.CellTemplate>
362362
<DataTemplate>
363-
<xctk:ColorPicker SelectedColor="{Binding ForeColor}" Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" />
363+
<xctk:ColorPicker SelectedColor="{Binding ForeColor, UpdateSourceTrigger=PropertyChanged}" Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" />
364364
</DataTemplate>
365365
</DataGridTemplateColumn.CellTemplate>
366366
</DataGridTemplateColumn>

0 commit comments

Comments
 (0)