MainWindow.xaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <Window
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:appconfig="clr-namespace:ConfigEditor.SubPage.AppConfig"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:evseconfig="clr-namespace:ConfigEditor.SubPage.EvseConfig"
  7. xmlns:local="clr-namespace:ConfigEditor"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. Title="ConfigEditor"
  10. Width="1100"
  11. Height="450"
  12. mc:Ignorable="d"
  13. x:Class="ConfigEditor.MainWindow">
  14. <Window.Resources>
  15. <Style TargetType="TextBox">
  16. <Setter Property="VerticalContentAlignment" Value="Center" />
  17. </Style>
  18. <Style TargetType="Label">
  19. <Setter Property="VerticalContentAlignment" Value="Center" />
  20. </Style>
  21. <Style TargetType="GroupBox">
  22. <Setter Property="BorderThickness" Value="3" />
  23. <Setter Property="Padding" Value="5" />
  24. </Style>
  25. </Window.Resources>
  26. <TabControl x:Name="uxMainTabControl">
  27. <TabItem Header="EvseConfig">
  28. <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible">
  29. <evseconfig:EvseConfigPanel x:Name="uxEvseConfigPanel" />
  30. </ScrollViewer>
  31. </TabItem>
  32. <TabItem Header="AppConfig">
  33. <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible">
  34. <appconfig:AppConfigPanel x:Name="uxAppConfigPanel" />
  35. </ScrollViewer>
  36. </TabItem>
  37. </TabControl>
  38. </Window>