SettingPage.xaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <views:SettingReactivePage
  2. x:Class="NatTypeTester.Views.SettingPage"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:views="using:NatTypeTester.Views"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. mc:Ignorable="d">
  9. <Grid RowDefinitions="Auto,Auto">
  10. <Grid Margin="15" Grid.Row="0">
  11. <RadioButtons x:Name="ProxyRadioButtons" x:Uid="ProxyRadioButtons">
  12. <RadioButton x:Uid="NoProxy" />
  13. <RadioButton x:Uid="SOCKS5Proxy" />
  14. </RadioButtons>
  15. </Grid>
  16. <ContentControl x:Name="ProxyConfigGrid" Grid.Row="1" Margin="15,0" HorizontalContentAlignment="Stretch">
  17. <Grid>
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="Auto" />
  20. <RowDefinition Height="Auto" />
  21. <RowDefinition Height="Auto" />
  22. </Grid.RowDefinitions>
  23. <TextBox
  24. x:Name="ProxyServerTextBox"
  25. x:Uid="ProxyServerTextBox"
  26. Grid.Row="0"
  27. Margin="0,5" IsReadOnly="False" />
  28. <TextBox
  29. x:Name="ProxyUsernameTextBox"
  30. x:Uid="ProxyUsernameTextBox"
  31. Grid.Row="1"
  32. Margin="0,5" IsReadOnly="False" />
  33. <TextBox
  34. x:Name="ProxyPasswordTextBox"
  35. x:Uid="ProxyPasswordTextBox"
  36. Grid.Row="2"
  37. Margin="0,5" />
  38. </Grid>
  39. </ContentControl>
  40. </Grid>
  41. </views:SettingReactivePage>