|
362 | 362 |
|
363 | 363 | <!-- Outlined text field -->
|
364 | 364 | <Trigger Property="wpf:TextFieldAssist.HasOutlinedTextField" Value="True">
|
365 |
| - <Setter TargetName="HintWrapper" Property="Opacity" Value="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" /> |
366 | 365 | <Setter TargetName="Underline" Property="Visibility" Value="Collapsed" />
|
367 | 366 | <Setter TargetName="Hint" Property="FloatingTarget" Value="{Binding ElementName=OuterBorder}" />
|
368 | 367 | <Setter TargetName="Hint" Property="FloatingAlignment" Value="Center" />
|
|
395 | 394 | <Condition Property="IsEnabled" Value="False" />
|
396 | 395 | <Condition Property="wpf:TextFieldAssist.HasFilledTextField" Value="True" />
|
397 | 396 | </MultiTrigger.Conditions>
|
398 |
| - <Setter TargetName="PART_ClearButton" Property="Opacity" Value="1" /> |
399 |
| - <Setter TargetName="OuterBorder" Property="Opacity" Value="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" /> |
| 397 | + <Setter TargetName="PART_ClearButton" Property="Opacity" Value="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" /> |
400 | 398 | </MultiTrigger>
|
401 | 399 | <MultiTrigger>
|
402 | 400 | <MultiTrigger.Conditions>
|
403 | 401 | <Condition Property="IsEnabled" Value="False" />
|
404 | 402 | <Condition Property="wpf:TextFieldAssist.HasOutlinedTextField" Value="True" />
|
405 | 403 | </MultiTrigger.Conditions>
|
406 | 404 | <Setter TargetName="OuterBorder" Property="BorderBrush" Value="{DynamicResource MaterialDesign.Brush.TextBox.OutlineInactiveBorder}" />
|
407 |
| - <Setter TargetName="HintWrapper" Property="Opacity"> |
408 |
| - <Setter.Value> |
409 |
| - <Binding Converter="{x:Static converters:MathConverter.MultiplyInstance}" |
410 |
| - ConverterParameter="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" |
411 |
| - Path="(wpf:HintAssist.HintOpacity)" |
412 |
| - RelativeSource="{RelativeSource TemplatedParent}" /> |
413 |
| - </Setter.Value> |
414 |
| - </Setter> |
415 | 405 | <Setter TargetName="PART_ClearButton" Property="Opacity" Value="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" />
|
416 | 406 | <Setter TargetName="PART_ContentHost" Property="Opacity" Value="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" />
|
417 | 407 | <Setter TargetName="PrefixTextBlock" Property="Opacity" Value="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" />
|
418 | 408 | <Setter TargetName="SuffixTextBlock" Property="Opacity" Value="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" />
|
| 409 | + <Setter TargetName="ContentGrid" Property="Opacity" Value="{x:Static wpf:Constants.TextBoxNotEnabledOpacity}" /> |
419 | 410 | </MultiTrigger>
|
420 | 411 |
|
421 | 412 | <!-- IsKeyboardFocused -->
|
|
0 commit comments