We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73afd40 commit 03658e1Copy full SHA for 03658e1
1 file changed
MessageCommunicator.TestGui/Views/_LoggingView/LoggingView.xaml.cs
@@ -6,20 +6,26 @@ namespace MessageCommunicator.TestGui.Views
6
{
7
public class LoggingView : OwnUserControl<LoggingViewModel>
8
9
+ private DataGridColumn _columnTypeColor;
10
private DataGridColumn _columnType;
11
12
public bool IsTypeColumnVisible
13
14
get => _columnType.IsVisible;
- set => _columnType.IsVisible = value;
15
+ set
16
+ {
17
+ _columnType.IsVisible = value;
18
+ _columnTypeColor.IsVisible = value;
19
+ }
20
}
21
22
public LoggingView()
23
24
AvaloniaXamlLoader.Load(this);
25
26
var ctrlDataGrid = this.FindControl<DataGrid>("CtrlDataGrid");
- _columnType = ctrlDataGrid.Columns[1];
27
+ _columnTypeColor = ctrlDataGrid.Columns[1];
28
+ _columnType = ctrlDataGrid.Columns[2];
29
30
31
0 commit comments