|
58 | 58 | </TextBox> |
59 | 59 | </Grid> |
60 | 60 | </GroupBox> |
61 | | - |
62 | | - <!-- <mah:ToggleSwitch Header="{DynamicResource String_AdjustScreenAutomatically}" OnLabel="{DynamicResource String_ToggleSwitch_On}" OffLabel="{DynamicResource String_ToggleSwitch_Off}" IsChecked="{Binding AdjustScreenAutomatically}" Margin="0,0,0,10" /> --> |
63 | | - |
64 | 61 | <TextBlock Text="{DynamicResource String_ColorDepthBit}" Style="{DynamicResource DefaultTextBlock}" VerticalAlignment="Center" Margin="0,0,0,10" /> |
65 | 62 | <ComboBox ItemsSource="{Binding ColorDepths}" SelectedItem="{Binding SelectedColorDepth}" Width="250" HorizontalAlignment="Left" Margin="0,0,0,20" /> |
| 63 | + <TextBlock Text="{DynamicResource String_Header_Network}" Style="{StaticResource HeaderTextBlock}" /> |
| 64 | + <TextBlock Text="{DynamicResource String_Port}" Style="{DynamicResource DefaultTextBlock}" VerticalAlignment="Center" Margin="0,0,0,10" /> |
| 65 | + <TextBox Width="250" HorizontalAlignment="Left" IsEnabled="{Binding UseCustomDNSServer}" mah:TextBoxHelper.Watermark="{DynamicResource String_Watermark_ExamplePort3389 }" Style="{StaticResource DefaultTextBox}" Margin="0,0,0,20"> |
| 66 | + <TextBox.Text> |
| 67 | + <Binding Path="Port" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> |
| 68 | + <Binding.ValidationRules> |
| 69 | + <Validator:EmptyValidator ValidatesOnTargetUpdated="True" /> |
| 70 | + <Validator:PortValidator ValidatesOnTargetUpdated="True" /> |
| 71 | + </Binding.ValidationRules> |
| 72 | + </Binding> |
| 73 | + </TextBox.Text> |
| 74 | + </TextBox> |
66 | 75 | <TextBlock Text="{DynamicResource String_Header_Authentication}" Style="{StaticResource HeaderTextBlock}" /> |
67 | 76 | <mah:ToggleSwitch Header="{DynamicResource String_CredentialSecuritySupportProvider}" OnLabel="{DynamicResource String_ToggleSwitch_On}" OffLabel="{DynamicResource String_ToggleSwitch_Off}" IsChecked="{Binding EnableCredSspSupport}" Margin="0,0,0,10" /> |
68 | 77 | <TextBlock Text="{DynamicResource String_AuthenticationLevel}" Style="{DynamicResource DefaultTextBlock}" VerticalAlignment="Center" Margin="0,0,0,10" /> |
|
0 commit comments