|
306 | 306 | <RowDefinition Height="10" /> |
307 | 307 | <RowDefinition Height="Auto" /> |
308 | 308 | </Grid.RowDefinitions> |
309 | | - <TextBlock Grid.Column="0" Grid.Row="0" Text="{x:Static localization:Strings.IPv4Address}" /> |
| 309 | + <TextBlock Grid.Column="0" Grid.Row="0" Text="{x:Static localization:Strings.IPv4Address}" Margin="24,0,0,0" VerticalAlignment="Center" Style="{StaticResource DisabledTextBlock}" /> |
310 | 310 | <TextBox x:Name="TextBoxNetworkInterfaceIPAddress" Grid.Column="2" Grid.Row="0" mah:TextBoxHelper.Watermark="{x:Static localization:StaticStrings.ExampleIPv4Address}" > |
311 | 311 | <TextBox.Text> |
312 | 312 | <Binding Path="NetworkInterface_IPAddress" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> |
|
317 | 317 | </Binding> |
318 | 318 | </TextBox.Text> |
319 | 319 | </TextBox> |
320 | | - <TextBlock Grid.Column="0" Grid.Row="2" Text="{x:Static localization:Strings.SubnetMask}" /> |
| 320 | + <TextBlock Grid.Column="0" Grid.Row="2" Text="{x:Static localization:Strings.SubnetMask}" Margin="24,0,0,0" VerticalAlignment="Center" Style="{StaticResource DisabledTextBlock}" /> |
321 | 321 | <ComboBox x:Name="ComboBoxNetworkInterfaceSubnetmask" Grid.Column="2" Grid.Row="2" Style="{StaticResource EditableComboBox}" mah:TextBoxHelper.Watermark="{x:Static localization:StaticStrings.ExampleIPv4SubnetmaskIPv4CIDR}" ItemsSource="{x:Static network:Subnetmask.List}"> |
322 | 322 | <ComboBox.Text> |
323 | 323 | <Binding Path="NetworkInterface_Subnetmask" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> |
|
328 | 328 | </Binding> |
329 | 329 | </ComboBox.Text> |
330 | 330 | </ComboBox> |
331 | | - <TextBlock Grid.Column="0" Grid.Row="4" Text="{x:Static localization:Strings.DefaultGateway}" /> |
| 331 | + <TextBlock Grid.Column="0" Grid.Row="4" Text="{x:Static localization:Strings.DefaultGateway}" Margin="24,0,0,0" VerticalAlignment="Center" Style="{StaticResource DisabledTextBlock}" /> |
332 | 332 | <TextBox x:Name="TextBoxNetworkInterfaceGateway" Grid.Column="2" Grid.Row="4" mah:TextBoxHelper.Watermark="{x:Static localization:StaticStrings.ExampleIPv4Gateway}" > |
333 | 333 | <TextBox.Text> |
334 | 334 | <Binding Path="NetworkInterface_Gateway" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> |
|
357 | 357 | <RowDefinition Height="10" /> |
358 | 358 | <RowDefinition Height="Auto" /> |
359 | 359 | </Grid.RowDefinitions> |
360 | | - <TextBlock Grid.Column="0" Grid.Row="0" Text="{x:Static localization:Strings.PrimaryDNSServer}" /> |
| 360 | + <TextBlock Grid.Column="0" Grid.Row="0" Text="{x:Static localization:Strings.PrimaryDNSServer}" Margin="24,0,0,0" VerticalAlignment="Center" Style="{StaticResource DisabledTextBlock}" /> |
361 | 361 | <TextBox x:Name="TextBoxNetworkInterfacePrimaryDNSServer" Grid.Column="2" Grid.Row="0" mah:TextBoxHelper.Watermark="{x:Static localization:StaticStrings.ExampleIPv4Gateway}" > |
362 | 362 | <TextBox.Text> |
363 | 363 | <Binding Path="NetworkInterface_PrimaryDNSServer" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> |
|
367 | 367 | </Binding> |
368 | 368 | </TextBox.Text> |
369 | 369 | </TextBox> |
370 | | - <TextBlock Grid.Column="0" Grid.Row="2" Text="{x:Static localization:Strings.SecondaryDNSServer}" /> |
| 370 | + <TextBlock Grid.Column="0" Grid.Row="2" Text="{x:Static localization:Strings.SecondaryDNSServer}" Margin="24,0,0,0" VerticalAlignment="Center" Style="{StaticResource DisabledTextBlock}" /> |
371 | 371 | <TextBox x:Name="TextBoxNetworkInterfaceSecondaryDNSServer" Grid.Column="2" Grid.Row="2" mah:TextBoxHelper.Watermark="{x:Static localization:StaticStrings.ExampleIPv4DNSServer}" > |
372 | 372 | <TextBox.Text> |
373 | 373 | <Binding Path="NetworkInterface_SecondaryDNSServer" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> |
|
489 | 489 | <TextBox x:Name="TextBoxPortScannerPorts" Grid.Column="2" Grid.Row="4" mah:TextBoxHelper.Watermark="{x:Static localization:StaticStrings.ExamplePortScanRange}"> |
490 | 490 | <TextBox.Text> |
491 | 491 | <Binding Path="PortScanner_Ports" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> |
492 | | - <Binding.ValidationRules> |
| 492 | + <Binding.ValidationRules> |
493 | 493 | <validators:EmptyOrPortRangeValidator ValidatesOnTargetUpdated="True" /> |
494 | 494 | </Binding.ValidationRules> |
495 | 495 | </Binding> |
|
821 | 821 | </PasswordBox.Style> |
822 | 822 | <interactivity:Interaction.Behaviors> |
823 | 823 | <wpfHelpers:PasswordBoxBindingBehavior Password="{Binding RemoteDesktop_Password, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> |
824 | | - </interactivity:Interaction.Behaviors> |
| 824 | + </interactivity:Interaction.Behaviors> |
825 | 825 | </PasswordBox> |
826 | 826 | <Rectangle Width="24" Height="24" Grid.Column="3" Grid.Row="10" ToolTip="{x:Static localization:Strings.WarningMessage_ProfileFileNotEncryptedStoringPasswords}" Visibility="{Binding IsProfileFileEncrypted, Converter={StaticResource BooleanReverseToVisibilityCollapsedConverter}}" Style="{StaticResource WarnImageRectangle}" Margin="10,0,0,0"> |
827 | 827 | <Rectangle.Resources> |
|
1091 | 1091 | </PasswordBox.Style> |
1092 | 1092 | <interactivity:Interaction.Behaviors> |
1093 | 1093 | <wpfHelpers:PasswordBoxBindingBehavior Password="{Binding RemoteDesktop_GatewayServerPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> |
1094 | | - </interactivity:Interaction.Behaviors> |
| 1094 | + </interactivity:Interaction.Behaviors> |
1095 | 1095 | </PasswordBox> |
1096 | 1096 | <Rectangle Width="24" Height="24" Grid.Column="3" Grid.Row="42" ToolTip="{x:Static localization:Strings.WarningMessage_ProfileFileNotEncryptedStoringPasswords}" Visibility="{Binding IsProfileFileEncrypted, Converter={StaticResource BooleanReverseToVisibilityCollapsedConverter}}" Style="{StaticResource WarnImageRectangle}" Margin="10,0,0,0"> |
1097 | 1097 | <Rectangle.Resources> |
|
1239 | 1239 | <CheckBox Grid.Column="0" Grid.Row="10" Content="{x:Static localization:Strings.Command}" IsChecked="{Binding PowerShell_OverrideCommand}" IsEnabled="{Binding PowerShell_EnableRemoteConsole, Converter={StaticResource BooleanReverseConverter}}" Style="{StaticResource DefaultCheckBox}" /> |
1240 | 1240 | <TextBox Grid.Column="2" Grid.Row="10" Text="{Binding PowerShell_Command, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"> |
1241 | 1241 | <TextBox.Style> |
1242 | | - <Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource DefaultTextBox}"> |
| 1242 | + <Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource DefaultTextBox}"> |
1243 | 1243 | <Style.Triggers> |
1244 | 1244 | <DataTrigger Binding="{Binding PowerShell_EnableRemoteConsole}" Value="True"> |
1245 | 1245 | <Setter Property="IsEnabled" Value="False" /> |
|
1731 | 1731 | </Binding> |
1732 | 1732 | </TextBox.Text> |
1733 | 1733 | </TextBox> |
1734 | | - <TextBlock Grid.Column="0" Grid.Row="10" Text="{x:Static localization:Strings.Mode}" Margin="24,0,0,0" /> |
| 1734 | + <TextBlock Grid.Column="0" Grid.Row="10" Text="{x:Static localization:Strings.Mode}" Margin="24,0,0,0" VerticalAlignment="Center" Style="{StaticResource DisabledTextBlock}" /> |
1735 | 1735 | <ComboBox Grid.Column="2" Grid.Row="10" ItemsSource="{Binding SNMP_Modes}" SelectedItem="{Binding SNMP_Mode}" IsEnabled="{Binding SNMP_OverrideOIDAndMode}" /> |
1736 | 1736 | <CheckBox Grid.Column="0" Grid.Row="12" Content="{x:Static localization:Strings.Version}" IsChecked="{Binding SNMP_OverrideVersionAndAuth}" Style="{StaticResource DefaultCheckBox}" /> |
1737 | 1737 | <ComboBox Grid.Column="2" Grid.Row="12" ItemsSource="{Binding SNMP_Versions}" SelectedItem="{Binding SNMP_Version}" IsEnabled="{Binding SNMP_OverrideVersionAndAuth}" /> |
1738 | | - <TextBlock Grid.Column="0" Grid.Row="14" Text="{x:Static localization:Strings.Community}" Margin="24,0,0,0"> |
| 1738 | + <TextBlock Grid.Column="0" Grid.Row="14" Text="{x:Static localization:Strings.Community}" Margin="24,0,0,0" VerticalAlignment="Center"> |
1739 | 1739 | <TextBlock.Style> |
1740 | | - <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CenterTextBlock}"> |
| 1740 | + <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DisabledTextBlock}"> |
1741 | 1741 | <Style.Triggers> |
1742 | 1742 | <DataTrigger Binding="{Binding SNMP_Version}" Value="V3"> |
1743 | 1743 | <Setter Property="Visibility" Value="Collapsed" /> |
|
1794 | 1794 | <Style TargetType="{x:Type ToolTip}" BasedOn="{StaticResource HelpToolTip}" /> |
1795 | 1795 | </Rectangle.Resources> |
1796 | 1796 | </Rectangle> |
1797 | | - <TextBlock Grid.Column="0" Grid.Row="16" Text="{x:Static localization:Strings.Security}" Margin="24,0,0,0"> |
| 1797 | + <TextBlock Grid.Column="0" Grid.Row="16" Text="{x:Static localization:Strings.Security}" Margin="24,0,0,0" VerticalAlignment="Center"> |
1798 | 1798 | <TextBlock.Style> |
1799 | | - <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CenterTextBlock}"> |
| 1799 | + <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DisabledTextBlock}"> |
1800 | 1800 | <Setter Property="Visibility" Value="Collapsed" /> |
1801 | 1801 | <Style.Triggers> |
1802 | 1802 | <DataTrigger Binding="{Binding SNMP_Version}" Value="V3"> |
|
1818 | 1818 | </Style> |
1819 | 1819 | </ComboBox.Style> |
1820 | 1820 | </ComboBox> |
1821 | | - <TextBlock Grid.Column="0" Grid.Row="18" Text="{x:Static localization:Strings.Username}" Margin="24,0,0,0"> |
| 1821 | + <TextBlock Grid.Column="0" Grid.Row="18" Text="{x:Static localization:Strings.Username}" Margin="24,0,0,0" VerticalAlignment="Center"> |
1822 | 1822 | <TextBlock.Style> |
1823 | | - <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CenterTextBlock}"> |
| 1823 | + <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DisabledTextBlock}"> |
1824 | 1824 | <Setter Property="Visibility" Value="Collapsed" /> |
1825 | 1825 | <Style.Triggers> |
1826 | 1826 | <DataTrigger Binding="{Binding SNMP_Version}" Value="V3"> |
|
1849 | 1849 | </Binding> |
1850 | 1850 | </TextBox.Text> |
1851 | 1851 | </TextBox> |
1852 | | - <TextBlock Grid.Column="0" Grid.Row="20" Text="{x:Static localization:Strings.Auth}" Margin="24,0,0,0"> |
| 1852 | + <TextBlock Grid.Column="0" Grid.Row="20" Text="{x:Static localization:Strings.Auth}" Margin="24,0,0,0" VerticalAlignment="Center"> |
1853 | 1853 | <TextBlock.Style> |
1854 | | - <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CenterTextBlock}"> |
| 1854 | + <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DisabledTextBlock}"> |
1855 | 1855 | <Setter Property="Visibility" Value="Collapsed" /> |
1856 | 1856 | <Style.Triggers> |
1857 | 1857 | <MultiDataTrigger> |
|
1969 | 1969 | <Style TargetType="{x:Type ToolTip}" BasedOn="{StaticResource HelpToolTip}" /> |
1970 | 1970 | </Rectangle.Resources> |
1971 | 1971 | </Rectangle> |
1972 | | - <TextBlock Grid.Column="0" Grid.Row="24" Text="{x:Static localization:Strings.Priv}" Margin="24,0,0,0"> |
| 1972 | + <TextBlock Grid.Column="0" Grid.Row="24" Text="{x:Static localization:Strings.Priv}" Margin="24,0,0,0" VerticalAlignment="Center"> |
1973 | 1973 | <TextBlock.Style> |
1974 | | - <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource CenterTextBlock}"> |
| 1974 | + <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DisabledTextBlock}"> |
1975 | 1975 | <Setter Property="Visibility" Value="Collapsed" /> |
1976 | 1976 | <Style.Triggers> |
1977 | 1977 | <MultiDataTrigger> |
|
2055 | 2055 | </Grid> |
2056 | 2056 | </StackPanel> |
2057 | 2057 | </ScrollViewer> |
2058 | | - </TabItem> |
| 2058 | + </TabItem> |
2059 | 2059 | <TabItem Header="{x:Static localization:Strings.WakeOnLAN}"> |
2060 | 2060 | <ScrollViewer Style="{StaticResource DefaultScrollViewer}" HorizontalScrollBarVisibility="Disabled"> |
2061 | 2061 | <StackPanel IsEnabled="{Binding WakeOnLAN_Enabled}" Margin="0,0,0,20"> |
|
2067 | 2067 | <Grid.RowDefinitions> |
2068 | 2068 | <RowDefinition Height="Auto" /> |
2069 | 2069 | <RowDefinition Height="10" /> |
2070 | | - <RowDefinition Height="Auto" /> |
| 2070 | + <RowDefinition Height="Auto" /> |
2071 | 2071 | </Grid.RowDefinitions> |
2072 | 2072 | <Grid.ColumnDefinitions> |
2073 | 2073 | <ColumnDefinition Width="1*" /> |
|
2572 | 2572 | <MultiDataTrigger.Setters> |
2573 | 2573 | <Setter Property="IsEnabled" Value="False" /> |
2574 | 2574 | </MultiDataTrigger.Setters> |
2575 | | - </MultiDataTrigger> |
| 2575 | + </MultiDataTrigger> |
2576 | 2576 | <!-- Whois --> |
2577 | 2577 | <MultiDataTrigger> |
2578 | 2578 | <MultiDataTrigger.Conditions> |
|
0 commit comments