|
58 | 58 | <ColumnDefinition Width="10" />
|
59 | 59 | <ColumnDefinition Width="Auto" />
|
60 | 60 | </Grid.ColumnDefinitions>
|
61 |
| - <TextBlock Grid.Column="0" Text="{x:Static Member=localization:Strings.Host}" Style="{DynamicResource ResourceKey=DefaultTextBlock}" VerticalAlignment="Center" /> |
62 |
| - <ComboBox Grid.Column="2" x:Name="ComboBoxHosts" ItemsSource="{Binding Path=HostsHistoryView}" mah:TextBoxHelper.Watermark="{x:Static Member=localization:StaticStrings.ExampleHostRange}" IsEnabled="{Binding Path=IsRunning, Converter={StaticResource ResourceKey=BooleanReverseConverter}}" Style="{StaticResource ResourceKey=HistoryComboBox}"> |
| 61 | + <TextBlock Grid.Column="0" Grid.Row="0" |
| 62 | + Text="{x:Static Member=localization:Strings.Host}" |
| 63 | + Style="{DynamicResource ResourceKey=DefaultTextBlock}" |
| 64 | + VerticalAlignment="Center" /> |
| 65 | + <ComboBox Grid.Column="2" Grid.Row="0" |
| 66 | + x:Name="ComboBoxHosts" |
| 67 | + ItemsSource="{Binding Path=HostsHistoryView}" |
| 68 | + mah:TextBoxHelper.Watermark="{x:Static Member=localization:StaticStrings.ExampleHostRange}" |
| 69 | + IsReadOnly="{Binding Path=IsRunning}" |
| 70 | + Style="{StaticResource ResourceKey=HistoryComboBox}"> |
63 | 71 | <ComboBox.Text>
|
64 | 72 | <Binding Path="Hosts" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged">
|
65 | 73 | <Binding.ValidationRules>
|
|
88 | 96 | </Rectangle.OpacityMask>
|
89 | 97 | </Rectangle>
|
90 | 98 | </Button>
|
91 |
| - <Button Grid.Column="6" Command="{Binding ScanCommand}" IsDefault="{Binding IsRunning, Converter={StaticResource BooleanReverseConverter}}" IsCancel="{Binding IsRunning}"> |
| 99 | + <Button Grid.Column="6" |
| 100 | + Command="{Binding ScanCommand}" |
| 101 | + IsDefault="{Binding IsRunning, Converter={StaticResource BooleanReverseConverter}}" |
| 102 | + IsCancel="{Binding IsRunning}"> |
92 | 103 | <Button.Resources>
|
93 | 104 | <Style TargetType="{x:Type Button}" BasedOn="{StaticResource ImageWithTextButton}">
|
94 | 105 | <Setter Property="IsEnabled" Value="True" />
|
|
0 commit comments