SpectrumViewerVisualSettings.xaml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. <Window
  2. xmlns:Testharness="clr-namespace:OINA.Extender.WPF.Testharness"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:sys="clr-namespace:System;assembly=mscorlib"
  5. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:controls="clr-namespace:OINA.Extender.Controls;assembly=OINA.Extender"
  9. mc:Ignorable="d"
  10. x:Uid="Window_1"
  11. x:Class="OINA.Extender.WPF.Testharness.SpectrumViewerVisualSettings"
  12. Title="SpectrumViewer Visual Settings"
  13. Width="873.134"
  14. ResizeMode="NoResize"
  15. WindowStyle="ToolWindow"
  16. SizeToContent="Height">
  17. <Window.Resources>
  18. <Style
  19. x:Uid="Style_1"
  20. x:Key="TextWidthSetter"
  21. TargetType="{x:Type FrameworkElement}">
  22. <Setter
  23. x:Uid="Setter_1"
  24. Property="Width"
  25. Value="250" />
  26. </Style>
  27. <Style
  28. x:Uid="Style_2"
  29. x:Key="ComboWidthSetter"
  30. TargetType="{x:Type FrameworkElement}">
  31. <Setter
  32. x:Uid="Setter_2"
  33. Property="Width"
  34. Value="150" />
  35. </Style>
  36. </Window.Resources>
  37. <StackPanel
  38. x:Uid="StackPanel_42"
  39. Margin="0,0,0,3">
  40. <Grid
  41. x:Uid="Grid_1"
  42. Margin="0,0,0,11">
  43. <Grid.ColumnDefinitions>
  44. <ColumnDefinition
  45. x:Uid="ColumnDefinition_13" />
  46. <ColumnDefinition
  47. x:Uid="ColumnDefinition_14" />
  48. </Grid.ColumnDefinitions>
  49. <StackPanel
  50. x:Uid="StackPanel_43"
  51. Grid.Column="0">
  52. <GroupBox
  53. x:Uid="GroupBox_1"
  54. Header="Spectrum Color"
  55. VerticalAlignment="Top"
  56. Margin="5">
  57. <Grid
  58. x:Uid="Grid_2"
  59. Margin="0,0,0,5">
  60. <Grid.ColumnDefinitions>
  61. <ColumnDefinition
  62. x:Uid="ColumnDefinition_12"
  63. Width="179*" />
  64. <ColumnDefinition
  65. x:Uid="ColumnDefinition_2"
  66. Width="140*" />
  67. </Grid.ColumnDefinitions>
  68. <Grid.RowDefinitions>
  69. <RowDefinition
  70. x:Uid="RowDefinition_1" />
  71. <RowDefinition
  72. x:Uid="RowDefinition_2" />
  73. <RowDefinition
  74. x:Uid="RowDefinition_3" />
  75. </Grid.RowDefinitions>
  76. <Label
  77. x:Uid="Label_1"
  78. Content="Background Color"
  79. Grid.Row="0"
  80. Grid.Column="0" />
  81. <Testharness:ColorPickerCombo
  82. x:Uid="cbSpectrumBackgroundColor"
  83. x:Name="cbSpectrumBackgroundColor"
  84. SelectedColor="{Binding SpectrumBackgroundColor, Mode=TwoWay}"
  85. Grid.Row="0"
  86. Grid.Column="1"
  87. Style="{StaticResource ComboWidthSetter}"
  88. Margin="2" />
  89. <Label
  90. x:Uid="Label_2"
  91. Content="Text Color"
  92. Grid.Row="1"
  93. Grid.Column="0" />
  94. <Testharness:ColorPickerCombo
  95. x:Uid="cbSpectrumForegroundColor"
  96. x:Name="cbSpectrumForegroundColor"
  97. SelectedColor="{Binding SpectrumLabelTextColor, Mode=TwoWay}"
  98. Grid.Row="1"
  99. Grid.Column="1"
  100. Style="{StaticResource ComboWidthSetter}"
  101. Margin="2" />
  102. <Label
  103. x:Uid="Label_3"
  104. Content="Spectrum Visual Fill Color"
  105. Grid.Row="2"
  106. Grid.Column="0" />
  107. <Testharness:ColorPickerCombo
  108. x:Uid="cbSpectrumVisualFillColor"
  109. x:Name="cbSpectrumVisualFillColor"
  110. SelectedColor="{Binding SpectrumVisualFillColor, Mode=TwoWay}"
  111. Grid.Row="2"
  112. Grid.Column="1"
  113. Style="{StaticResource ComboWidthSetter}"
  114. Margin="2" />
  115. </Grid>
  116. </GroupBox>
  117. <GroupBox
  118. x:Uid="GroupBox_2"
  119. Header="Spectrum Peak Label"
  120. VerticalAlignment="Top"
  121. Margin="5">
  122. <Grid
  123. x:Uid="Grid_6"
  124. Margin="0,0,0,5">
  125. <Grid.ColumnDefinitions>
  126. <ColumnDefinition
  127. x:Uid="ColumnDefinition_15"
  128. Width="179*" />
  129. <ColumnDefinition
  130. x:Uid="ColumnDefinition_16"
  131. Width="140*" />
  132. </Grid.ColumnDefinitions>
  133. <Grid.RowDefinitions>
  134. <RowDefinition
  135. x:Uid="RowDefinition_23" />
  136. <RowDefinition
  137. x:Uid="RowDefinition_24" />
  138. <RowDefinition
  139. x:Uid="RowDefinition_25" />
  140. <RowDefinition
  141. x:Uid="RowDefinition_26" />
  142. <RowDefinition
  143. x:Uid="RowDefinition_27" />
  144. </Grid.RowDefinitions>
  145. <Label
  146. Grid.Row="0"
  147. Grid.Column="0"
  148. x:Uid="Label_4"
  149. Content="Peal Label Border Color"
  150. Style="{StaticResource TextWidthSetter}" />
  151. <Testharness:ColorPickerCombo
  152. Grid.Row="0"
  153. Grid.Column="1"
  154. x:Uid="cbSpectrumLabelChromeBorderBrushColor"
  155. x:Name="cbSpectrumLabelChromeBorderBrushColor"
  156. SelectedColor="{Binding SpectrumPeakLabelBorderColor, Mode=TwoWay}"
  157. Margin="2"
  158. Style="{StaticResource ComboWidthSetter}" />
  159. <Label
  160. Grid.Row="1"
  161. Grid.Column="0"
  162. x:Uid="Label_5"
  163. Content="Peak Label Background Color"
  164. Style="{StaticResource TextWidthSetter}" />
  165. <Testharness:ColorPickerCombo
  166. Grid.Row="1"
  167. Grid.Column="1"
  168. x:Uid="cbSpectrumLabelChromeBackgroundColor"
  169. x:Name="cbSpectrumLabelChromeBackgroundColor"
  170. SelectedColor="{Binding SpectrumPeakLabelBackgroundColor, Mode=TwoWay}"
  171. Style="{StaticResource ComboWidthSetter}"
  172. Margin="2" />
  173. <Label
  174. Grid.Row="2"
  175. Grid.Column="0"
  176. x:Uid="Label_6"
  177. Content="Peak Label Text Color"
  178. Style="{StaticResource TextWidthSetter}" />
  179. <Testharness:ColorPickerCombo
  180. Grid.Row="2"
  181. Grid.Column="1"
  182. x:Uid="cbSpectrumLabelViewForegroundColor"
  183. x:Name="cbSpectrumLabelViewForegroundColor"
  184. SelectedColor="{Binding SpectrumPeakLabelTextColor, Mode=TwoWay}"
  185. Style="{StaticResource ComboWidthSetter}"
  186. Margin="2" />
  187. <Label
  188. Grid.Row="3"
  189. Grid.Column="0"
  190. x:Uid="Label_7"
  191. Content="Alternate Peak Label Text Color"
  192. Style="{StaticResource TextWidthSetter}" />
  193. <Testharness:ColorPickerCombo
  194. Grid.Row="3"
  195. Grid.Column="1"
  196. x:Uid="cbMainSpectrumLabelForegroundColor"
  197. x:Name="cbMainSpectrumLabelForegroundColor"
  198. SelectedColor="{Binding AlternatePeakLabelTextColor, Mode=TwoWay}"
  199. Style="{StaticResource ComboWidthSetter}"
  200. Margin="2" />
  201. <Label
  202. Grid.Row="4"
  203. Grid.Column="0"
  204. x:Uid="Label_8"
  205. Content="Alternate Peak Label Background Color"
  206. Style="{StaticResource TextWidthSetter}" />
  207. <Testharness:ColorPickerCombo
  208. Grid.Row="4"
  209. Grid.Column="1"
  210. x:Uid="cbMainSpectrumLabelBackgroundColor"
  211. x:Name="cbMainSpectrumLabelBackgroundColor"
  212. SelectedColor="{Binding AlternatePeakLabelBackgroundColor, Mode=TwoWay}"
  213. Style="{StaticResource ComboWidthSetter}"
  214. Margin="2" />
  215. </Grid>
  216. </GroupBox>
  217. </StackPanel>
  218. <StackPanel
  219. x:Uid="StackPanel_44"
  220. Grid.Column="1">
  221. <GroupBox
  222. x:Uid="GroupBox_3"
  223. Header="Axis Property"
  224. VerticalAlignment="Top"
  225. Margin="5">
  226. <Grid
  227. x:Uid="Grid_4">
  228. <Grid.RowDefinitions>
  229. <RowDefinition
  230. x:Uid="RowDefinition_10" />
  231. <RowDefinition
  232. x:Uid="RowDefinition_11" />
  233. <RowDefinition
  234. x:Uid="RowDefinition_12" />
  235. <RowDefinition
  236. x:Uid="RowDefinition_13" />
  237. <RowDefinition
  238. x:Uid="RowDefinition_14" />
  239. <RowDefinition
  240. x:Uid="RowDefinition_15" />
  241. <RowDefinition
  242. x:Uid="RowDefinition_16" />
  243. <RowDefinition
  244. x:Uid="RowDefinition_17" />
  245. <RowDefinition
  246. x:Uid="RowDefinition_18" />
  247. <RowDefinition
  248. x:Uid="RowDefinition_19" />
  249. <RowDefinition
  250. x:Uid="RowDefinition_20" />
  251. </Grid.RowDefinitions>
  252. <Grid.ColumnDefinitions>
  253. <ColumnDefinition
  254. x:Uid="ColumnDefinition_5"
  255. Width="221*" />
  256. <ColumnDefinition
  257. x:Uid="ColumnDefinition_6"
  258. Width="140*" />
  259. </Grid.ColumnDefinitions>
  260. <Label
  261. x:Uid="Label_11"
  262. Content="Axis Color"
  263. Grid.Row="0"
  264. Grid.Column="0" />
  265. <Testharness:ColorPickerCombo
  266. x:Uid="cbAxisColor"
  267. x:Name="cbAxisColor"
  268. SelectedColor="{Binding AxisColor, Mode=TwoWay}"
  269. Grid.Row="0"
  270. Grid.Column="1"
  271. Style="{StaticResource ComboWidthSetter}"
  272. Margin="2"
  273. VerticalAlignment="Top" />
  274. <Label
  275. x:Uid="Label_13"
  276. Content="Axis Text Color"
  277. Grid.Row="1"
  278. Grid.Column="0" />
  279. <Testharness:ColorPickerCombo
  280. x:Uid="cbAxisTextColor"
  281. x:Name="cbAxisTextColor"
  282. SelectedColor="{Binding AxisTextColor, Mode=TwoWay}"
  283. Grid.Row="1"
  284. Grid.Column="1"
  285. Style="{StaticResource ComboWidthSetter}"
  286. Margin="2" />
  287. <Label
  288. x:Uid="Label_14"
  289. Content="Axis Major tick Length"
  290. Grid.Row="2"
  291. Grid.Column="0" />
  292. <ComboBox
  293. x:Uid="cbAxisMajorTickLength"
  294. x:Name="cbAxisMajorTickLength"
  295. SelectedValue="{Binding AxisMajorTickLength, Mode=TwoWay}"
  296. Grid.Row="2"
  297. Grid.Column="1"
  298. Style="{StaticResource ComboWidthSetter}"
  299. Margin="2">
  300. <ComboBox.ItemsSource>
  301. <x:Array
  302. x:Uid="x:Array_3"
  303. Type="{x:Type sys:Double}">
  304. <sys:Double
  305. x:Uid="sys:Double_1">4.0</sys:Double>
  306. <sys:Double
  307. x:Uid="sys:Double_2">6.0</sys:Double>
  308. <sys:Double
  309. x:Uid="sys:Double_3">8.0</sys:Double>
  310. </x:Array>
  311. </ComboBox.ItemsSource>
  312. </ComboBox>
  313. <Label
  314. x:Uid="Label_15"
  315. Content="Axis Minor tick Length"
  316. Grid.Row="3"
  317. Grid.Column="0" />
  318. <ComboBox
  319. x:Uid="cbAxisMinorTickLength"
  320. x:Name="cbAxisMinorTickLength"
  321. SelectedValue="{Binding AxisMinorTickLength, Mode=TwoWay}"
  322. Grid.Row="3"
  323. Grid.Column="1"
  324. Style="{StaticResource ComboWidthSetter}"
  325. Margin="2">
  326. <ComboBox.ItemsSource>
  327. <x:Array
  328. x:Uid="x:Array_4"
  329. Type="{x:Type sys:Double}">
  330. <sys:Double
  331. x:Uid="sys:Double_4">3.0</sys:Double>
  332. <sys:Double
  333. x:Uid="sys:Double_5">4.5</sys:Double>
  334. <sys:Double
  335. x:Uid="sys:Double_6">6.0</sys:Double>
  336. </x:Array>
  337. </ComboBox.ItemsSource>
  338. </ComboBox>
  339. <Label
  340. x:Uid="Label_16"
  341. Content="Axis Sub Minor tick Length"
  342. Grid.Row="4"
  343. Grid.Column="0" />
  344. <ComboBox
  345. x:Uid="cbAxisSubMinorTickLength"
  346. x:Name="cbAxisSubMinorTickLength"
  347. SelectedValue="{Binding AxisSubMinorTickLength, Mode=TwoWay}"
  348. Grid.Row="4"
  349. Grid.Column="1"
  350. Style="{StaticResource ComboWidthSetter}"
  351. Margin="2">
  352. <ComboBox.ItemsSource>
  353. <x:Array
  354. x:Uid="x:Array_5"
  355. Type="{x:Type sys:Double}">
  356. <sys:Double
  357. x:Uid="sys:Double_7">1.0</sys:Double>
  358. <sys:Double
  359. x:Uid="sys:Double_8">3.0</sys:Double>
  360. <sys:Double
  361. x:Uid="sys:Double_9">5.0</sys:Double>
  362. </x:Array>
  363. </ComboBox.ItemsSource>
  364. </ComboBox>
  365. <Label
  366. x:Uid="Label_17"
  367. Content="Axis Font Size"
  368. Grid.Row="5"
  369. Grid.Column="0" />
  370. <ComboBox
  371. x:Uid="cbAxisFontSize"
  372. x:Name="cbAxisFontSize"
  373. SelectedValue="{Binding AxisFontSizes, Mode=TwoWay}"
  374. Grid.Row="5"
  375. Grid.Column="1"
  376. Style="{StaticResource ComboWidthSetter}"
  377. Margin="2">
  378. <ComboBox.ItemsSource>
  379. <x:Array
  380. x:Uid="x:Array_1"
  381. Type="{x:Type sys:Double}">
  382. <sys:Double
  383. x:Uid="sys:Double_10">8</sys:Double>
  384. <sys:Double
  385. x:Uid="sys:Double_11">10</sys:Double>
  386. <sys:Double
  387. x:Uid="sys:Double_12">12</sys:Double>
  388. <sys:Double
  389. x:Uid="sys:Double_13">14</sys:Double>
  390. <sys:Double
  391. x:Uid="sys:Double_14">16</sys:Double>
  392. </x:Array>
  393. </ComboBox.ItemsSource>
  394. </ComboBox>
  395. <Label
  396. x:Uid="Label_18"
  397. Content="Axis Label Margin"
  398. Grid.Row="6"
  399. Grid.Column="0" />
  400. <ComboBox
  401. x:Uid="cbAxisLabelMargin"
  402. x:Name="cbAxisLabelMargin"
  403. SelectedValue="{Binding AxisLabelMargin, Mode=TwoWay}"
  404. Grid.Row="6"
  405. Grid.Column="1"
  406. Style="{StaticResource ComboWidthSetter}"
  407. Margin="2">
  408. <ComboBox.ItemsSource>
  409. <x:Array
  410. x:Uid="x:Array_2"
  411. Type="{x:Type Thickness}">
  412. <Thickness
  413. x:Uid="Thickness_1">1,0,1,0</Thickness>
  414. <Thickness
  415. x:Uid="Thickness_2">2,0,2,0</Thickness>
  416. <Thickness
  417. x:Uid="Thickness_3">3,0,3,0</Thickness>
  418. </x:Array>
  419. </ComboBox.ItemsSource>
  420. </ComboBox>
  421. <Label
  422. x:Uid="Label_19"
  423. Content="Axis Line Thickness"
  424. Grid.Row="7"
  425. Grid.Column="0" />
  426. <ComboBox
  427. x:Uid="cbAxisLineThickness"
  428. x:Name="cbAxisLineThickness"
  429. SelectedValue="{Binding AxisLineThickness, Mode=TwoWay}"
  430. Grid.Row="7"
  431. Grid.Column="1"
  432. Style="{StaticResource ComboWidthSetter}"
  433. Margin="2">
  434. <ComboBox.ItemsSource>
  435. <x:Array
  436. x:Uid="x:Array_6"
  437. Type="{x:Type sys:Double}">
  438. <sys:Double
  439. x:Uid="sys:Double_15">0.5</sys:Double>
  440. <sys:Double
  441. x:Uid="sys:Double_16">1.0</sys:Double>
  442. <sys:Double
  443. x:Uid="sys:Double_17">2.0</sys:Double>
  444. </x:Array>
  445. </ComboBox.ItemsSource>
  446. </ComboBox>
  447. <CheckBox
  448. x:Uid="cbAxisLinesVisible"
  449. x:Name="cbAxisLinesVisible"
  450. Content="Show Axis Lines"
  451. Grid.Row="8"
  452. Grid.Column="0"
  453. Grid.ColumnSpan="2"
  454. Margin="5"
  455. IsChecked="{Binding IsAxisLinesVisible}" />
  456. </Grid>
  457. </GroupBox>
  458. <GroupBox
  459. x:Uid="GroupBox_4" Header="Quant Results Property"
  460. VerticalAlignment="Top"
  461. Margin="5">
  462. <Grid x:Uid="Grid_7">
  463. <Grid.RowDefinitions>
  464. <RowDefinition x:Uid="RowDefinition_28" />
  465. <RowDefinition x:Uid="RowDefinition_29" />
  466. <RowDefinition x:Uid="RowDefinition_30" />
  467. <RowDefinition x:Uid="RowDefinition_31" />
  468. <RowDefinition x:Uid="RowDefinition_32" />
  469. <RowDefinition x:Uid="RowDefinition_33" />
  470. </Grid.RowDefinitions>
  471. <Grid.ColumnDefinitions>
  472. <ColumnDefinition
  473. x:Uid="ColumnDefinition_17"
  474. Width="221*" />
  475. <ColumnDefinition
  476. x:Uid="ColumnDefinition_18"
  477. Width="140*" />
  478. </Grid.ColumnDefinitions>
  479. <Label
  480. x:Uid="Label_20"
  481. Content="Quant Results Background Color"
  482. Grid.Row="0"
  483. Grid.Column="0" />
  484. <Testharness:ColorPickerCombo
  485. x:Uid="cbQuantResultsBackgroundColor"
  486. x:Name="cbQuantResultsBackgroundColor"
  487. SelectedColor="{Binding QuantResultsBackgroundColor, Mode=TwoWay}"
  488. Grid.Row="0"
  489. Grid.Column="1"
  490. Style="{StaticResource ComboWidthSetter}"
  491. Margin="2"
  492. VerticalAlignment="Top" />
  493. <Label
  494. x:Uid="Label_21"
  495. Content="Quant Results Background Opacity"
  496. Grid.Row="1"
  497. Grid.Column="0" />
  498. <ComboBox
  499. x:Uid="cbQuantResultsBackgroundOpacity"
  500. x:Name="cbQuantResultsBackgroundOpacity"
  501. SelectedValue="{Binding QuantResultsBackgroundOpacity, Mode=TwoWay}"
  502. Grid.Row="1"
  503. Grid.Column="1"
  504. Style="{StaticResource ComboWidthSetter}"
  505. Margin="2">
  506. <ComboBox.ItemsSource>
  507. <x:Array
  508. x:Uid="x:Array_7"
  509. Type="{x:Type sys:Double}">
  510. <sys:Double
  511. x:Uid="sys:Double_19">0.25</sys:Double>
  512. <sys:Double
  513. x:Uid="sys:Double_20">0.5</sys:Double>
  514. <sys:Double
  515. x:Uid="sys:Double_21">0.75</sys:Double>
  516. <sys:Double
  517. x:Uid="sys:Double_18">1.0</sys:Double>
  518. </x:Array>
  519. </ComboBox.ItemsSource>
  520. </ComboBox>
  521. <Label
  522. x:Uid="Label_22"
  523. Content="Quant Results Format"
  524. Grid.Row="3"
  525. Grid.Column="0" />
  526. <ComboBox
  527. x:Uid="cbQuantResultsFormat"
  528. x:Name="cbQuantResultsFormat"
  529. SelectedValue="{Binding QuantResultsFormat, Mode=TwoWay}"
  530. Grid.Row="3"
  531. Grid.Column="1"
  532. Style="{StaticResource ComboWidthSetter}"
  533. Margin="2">
  534. <ComboBox.ItemsSource>
  535. <x:Array
  536. x:Uid="x:Array_8"
  537. Type="{x:Type controls:QuantResultFormat}">
  538. <controls:QuantResultFormat
  539. x:Uid="controls:QuantResultFormat_1">Table</controls:QuantResultFormat>
  540. <controls:QuantResultFormat
  541. x:Uid="controls:QuantResultFormat_2">Histogram</controls:QuantResultFormat>
  542. </x:Array>
  543. </ComboBox.ItemsSource>
  544. </ComboBox>
  545. <Label
  546. x:Uid="Label_23"
  547. Content="Quant Results Category"
  548. Grid.Row="4"
  549. Grid.Column="0" />
  550. <ComboBox
  551. x:Uid="cbQuantResultsCategory"
  552. x:Name="cbQuantResultsCategory"
  553. SelectedValue="{Binding QuantResultsCategory, Mode=TwoWay}"
  554. Grid.Row="4"
  555. Grid.Column="1"
  556. Style="{StaticResource ComboWidthSetter}"
  557. Margin="2">
  558. <ComboBox.ItemsSource>
  559. <x:Array
  560. x:Uid="x:Array_9"
  561. Type="{x:Type controls:QuantResultCategory}">
  562. <controls:QuantResultCategory
  563. x:Uid="controls:QuantResultCategory_1">WeightPercent</controls:QuantResultCategory>
  564. <controls:QuantResultCategory
  565. x:Uid="controls:QuantResultCategory_2">AtomicPercent</controls:QuantResultCategory>
  566. <controls:QuantResultCategory
  567. x:Uid="controls:QuantResultCategory_3">OxidePercent</controls:QuantResultCategory>
  568. </x:Array>
  569. </ComboBox.ItemsSource>
  570. </ComboBox>
  571. <CheckBox
  572. x:Uid="cbQuantResultsVisible"
  573. x:Name="cbQuantResultsVisible"
  574. Content="Show Quant Results"
  575. Grid.Row="5"
  576. Grid.Column="0"
  577. Grid.ColumnSpan="2"
  578. Margin="5"
  579. IsChecked="{Binding ShowQuantResults}" />
  580. </Grid>
  581. </GroupBox>
  582. </StackPanel>
  583. </Grid>
  584. <Button
  585. x:Uid="Button_1"
  586. Content="Reset Style"
  587. VerticalAlignment="Bottom"
  588. Width="100"
  589. Click="ResetStyle_click"
  590. Margin="0,0,0,10"/>
  591. </StackPanel>
  592. </Window>