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"
500
500
</MultiTrigger .Conditions>
501
501
<Setter Property =" ScrollViewer.CanContentScroll" Value =" false" />
502
502
</MultiTrigger >
503
+ <Trigger Property =" IsKeyboardFocused" Value =" true" >
504
+ <Setter TargetName =" Underline" Property =" IsActive" Value =" True" />
505
+ </Trigger >
503
506
</ControlTemplate .Triggers>
504
507
</ControlTemplate >
505
508
You can’t perform that action at this time.
0 commit comments