|
22 | 22 | <Panel Margin="5"> |
23 | 23 | <StackPanel Spacing="5"> |
24 | 24 | <Button |
25 | | - Classes="IconButton Secondary" |
| 25 | + Classes="IconButton Tertiary" |
26 | 26 | Classes.IconButtonActive="{Binding IsDataPageActive}" |
27 | 27 | Command="{Binding DataPageButtonCommand}" |
28 | 28 | Content="" |
29 | 29 | ToolTip.Tip="数据收发" /> |
30 | 30 | <Button |
31 | | - Classes="IconButton Secondary" |
| 31 | + Classes="IconButton Tertiary" |
32 | 32 | Classes.IconButtonActive="{Binding IsToolsPageActive}" |
33 | 33 | Command="{Binding ToolsPageButtonCommand}" |
34 | 34 | Content="" |
35 | 35 | ToolTip.Tip="调试工具" /> |
36 | 36 | <Button |
37 | | - Classes="IconButton Secondary" |
| 37 | + Classes="IconButton Tertiary" |
38 | 38 | Classes.IconButtonActive="{Binding IsScriptPageActive}" |
39 | 39 | Command="{Binding ScriptPageButtonCommand}" |
40 | 40 | Content="" |
41 | 41 | ToolTip.Tip="自动脚本" /> |
42 | 42 | <Button |
43 | | - Classes="IconButton Secondary" |
| 43 | + Classes="IconButton Tertiary" |
44 | 44 | Classes.IconButtonActive="{Binding IsOnlinePageActive}" |
45 | 45 | Command="{Binding OnlinePageButtonCommand}" |
46 | 46 | Content="" |
47 | 47 | ToolTip.Tip="在线功能" /> |
48 | 48 | </StackPanel> |
49 | 49 | <Button |
50 | | - Classes="IconButton Secondary" |
| 50 | + Classes="IconButton Tertiary" |
51 | 51 | Classes.IconButtonActive="{Binding IsSettingPageActive}" |
52 | 52 | Command="{Binding SettingPageButtonCommand}" |
53 | 53 | Content="" |
|
59 | 59 | <GridSplitter Grid.Column="2" ResizeDirection="Columns" /> |
60 | 60 | <Grid Grid.Column="3" RowDefinitions="Auto,*"> |
61 | 61 | <Border BorderBrush="{DynamicResource SemiColorBorder}" BorderThickness="0,0,0,1"> |
62 | | - <StackPanel HorizontalAlignment="Center" Orientation="Horizontal"> |
63 | | - <RadioButton |
64 | | - Classes="Large Secondary" |
65 | | - Command="{Binding PacketDataButtonCommand}" |
66 | | - IsChecked="True" |
67 | | - Theme="{DynamicResource ButtonRadioButton}"> |
| 62 | + <StackPanel |
| 63 | + HorizontalAlignment="Center" |
| 64 | + Margin="0,5" |
| 65 | + Orientation="Horizontal" |
| 66 | + Spacing="5"> |
| 67 | + <Button |
| 68 | + Classes="NotActiveButton Tertiary" |
| 69 | + Classes.ActiveButton="{Binding IsPacketDataActive}" |
| 70 | + Command="{Binding PacketDataButtonCommand}"> |
68 | 71 | <StackPanel Orientation="Horizontal"> |
69 | 72 | <TextBlock |
70 | 73 | FontFamily="{DynamicResource Phosphor}" |
71 | 74 | FontSize="20" |
72 | 75 | Text="" /> |
73 | 76 | <TextBlock>分包数据</TextBlock> |
74 | 77 | </StackPanel> |
75 | | - </RadioButton> |
76 | | - <RadioButton |
77 | | - Classes="Large" |
78 | | - Command="{Binding TerminalButtonCommand}" |
79 | | - Theme="{DynamicResource ButtonRadioButton}"> |
| 78 | + </Button> |
| 79 | + <Button |
| 80 | + Classes="NotActiveButton Tertiary" |
| 81 | + Classes.ActiveButton="{Binding IsTerminalActive}" |
| 82 | + Command="{Binding TerminalButtonCommand}"> |
80 | 83 | <StackPanel Orientation="Horizontal"> |
81 | 84 | <TextBlock |
82 | 85 | FontFamily="{DynamicResource Phosphor}" |
83 | 86 | FontSize="20" |
84 | 87 | Text="" /> |
85 | 88 | <TextBlock>虚拟终端</TextBlock> |
86 | 89 | </StackPanel> |
87 | | - </RadioButton> |
88 | | - <RadioButton |
89 | | - Classes="Large" |
90 | | - Command="{Binding WaveformButtonCommand}" |
91 | | - Theme="{DynamicResource ButtonRadioButton}"> |
| 90 | + </Button> |
| 91 | + <Button |
| 92 | + Classes="NotActiveButton Tertiary" |
| 93 | + Classes.ActiveButton="{Binding IsWaveformActive}" |
| 94 | + Command="{Binding WaveformButtonCommand}"> |
92 | 95 | <StackPanel Orientation="Horizontal"> |
93 | 96 | <TextBlock |
94 | 97 | FontFamily="{DynamicResource Phosphor}" |
95 | 98 | FontSize="20" |
96 | 99 | Text="" /> |
97 | 100 | <TextBlock>波形显示</TextBlock> |
98 | 101 | </StackPanel> |
99 | | - </RadioButton> |
| 102 | + </Button> |
100 | 103 | </StackPanel> |
101 | 104 | </Border> |
102 | 105 | <UserControl Content="{Binding CurrentDataPage}" Grid.Row="1" /> |
|
0 commit comments