File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 427
427
<wpf : Underline x : Name =" Underline"
428
428
Grid.ColumnSpan=" 2"
429
429
IsActive =" {Binding ElementName=PART_EditableTextBox, Path=IsKeyboardFocused}"
430
- Visibility =" Collapsed " />
430
+ Visibility =" {Binding Path=(wpf:TextFieldAssist.DecorationVisibility), RelativeSource={RelativeSource TemplatedParent}} " />
431
431
432
432
<wpf : ComboBoxPopup x : Name =" PART_Popup"
433
433
AllowsTransparency =" true"
503
503
</MultiTrigger .Conditions>
504
504
<Setter Property =" ScrollViewer.CanContentScroll" Value =" false" />
505
505
</MultiTrigger >
506
+ <Trigger Property =" IsKeyboardFocused" Value =" true" >
507
+ <Setter TargetName =" Underline" Property =" IsActive" Value =" True" />
508
+ </Trigger >
506
509
</ControlTemplate .Triggers>
507
510
</ControlTemplate >
508
511
You can’t perform that action at this time.
0 commit comments