PageRenderTime 43ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/WPF Dialogs/Dialogs/FontDialog.xaml

#
XAML | 86 lines | 86 code | 0 blank | 0 comment | 0 complexity | 7426361e09928f7d1e08eb83c1759287 MD5 | raw file
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Window
  3. x:Class="WPF_Dialogs.Dialogs.FontDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:custom="clr-namespace:WPF_Dialogs.Custom_Controls"
  4. Title="FontDialog"
  5. Width="398"
  6. Height="356"
  7. ResizeMode="NoResize">
  8. <Grid
  9. Width="414">
  10. <Label
  11. Content="Font"
  12. Grid.Column="0"
  13. Grid.Row="0"
  14. HorizontalAlignment="Left"
  15. VerticalAlignment="Bottom"
  16. Margin="10,0,0,291"
  17. Width="93"
  18. Height="25"
  19. Name="labelFont" />
  20. <ListBox
  21. Name="listBoxFont"
  22. SelectionChanged="listBoxFont_SelectionChanged"
  23. Grid.Column="0"
  24. Grid.Row="0"
  25. HorizontalAlignment="Left"
  26. VerticalAlignment="Bottom"
  27. Margin="10,0,0,143"
  28. Width="182"
  29. Height="147" />
  30. <Label
  31. Name="labelFontStyle"
  32. Grid.Column="0"
  33. Grid.Row="0"
  34. VerticalAlignment="Top"
  35. Height="25"
  36. Width="93"
  37. HorizontalAlignment="Right"
  38. Margin="0,8,123,0"
  39. Content="Fontstyle" />
  40. <ListBox
  41. SelectionChanged="listBoxFontStyle_SelectionChanged"
  42. Grid.Row="0"
  43. HorizontalAlignment="Left"
  44. VerticalAlignment="Top"
  45. Width="92"
  46. Height="147"
  47. Name="listBoxFontstyle"
  48. SelectionMode="Multiple"
  49. Margin="199,34,0,0"
  50. Grid.Column="0">
  51. <ListBoxItem
  52. Name="styleStandard"
  53. Content="Standard"></ListBoxItem>
  54. <ListBoxItem
  55. Name="styleItalic"
  56. Content="Italic" />
  57. <ListBoxItem
  58. Name="styleBold"
  59. Content="Bold"></ListBoxItem>
  60. <ListBoxItem
  61. Content="Underlined"
  62. Name="styleUnderlined" />
  63. </ListBox>
  64. <Label
  65. Content="Fontsize"
  66. Name="labelFontSize"
  67. Grid.Row="0"
  68. HorizontalAlignment="Left"
  69. VerticalAlignment="Top"
  70. Width="83"
  71. Height="25"
  72. Margin="300,8,0,0"
  73. Grid.Column="0" />
  74. <ListBox
  75. Name="listBoxSize"
  76. SelectionChanged="listBoxFontSize_SelectionChanged"
  77. Grid.Column="0"
  78. Grid.Row="0"
  79. HorizontalAlignment="Left"
  80. VerticalAlignment="Top"
  81. Margin="300,34,0,0"
  82. Width="77"
  83. Height="147"></ListBox>
  84. <Grid.ColumnDefinitions></Grid.ColumnDefinitions>
  85. </Grid>
  86. </Window>