OptionalYesNoDirectoryPanel.xaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <StackPanel
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
  6. x:Class="OptionalYesNoDirectoryPanel"
  7. >
  8. <Label>
  9. <TextBlock
  10. Name="SettingUsage"
  11. TextWrapping="Wrap"
  12. />
  13. </Label>
  14. <StackPanel
  15. Orientation="Horizontal"
  16. >
  17. <CheckBox
  18. Name="SettingCheckBox"
  19. Content="Directory:"
  20. Checked="SettingCheckBox_Checked"
  21. Unchecked="SettingCheckBox_Unchecked"
  22. />
  23. <StackPanel
  24. Name="SettingRadioPanel"
  25. Orientation="Horizontal"
  26. IsEnabled="False"
  27. >
  28. <RadioButton
  29. Name="SettingYes"
  30. Content="Yes"
  31. IsChecked="True"
  32. />
  33. <RadioButton
  34. Name="SettingNo"
  35. Content="No"
  36. />
  37. <RadioButton
  38. Name="SettingDirectory"
  39. Content="Directory:"
  40. Checked="SettingDirectory_Checked"
  41. Unchecked="SettingDirectory_Unchecked"
  42. />
  43. <StackPanel
  44. Name="SettingDirectoryPanel"
  45. Orientation="Horizontal"
  46. IsEnabled="False"
  47. >
  48. <toolkit:AutoCompleteBox
  49. Name="SettingDirectoryBox"
  50. />
  51. <Button
  52. Name="SettingDirectoryBrowse"
  53. Content="Browse..."
  54. />
  55. </StackPanel>
  56. </StackPanel>
  57. </StackPanel>
  58. </StackPanel>