How can I remove the ComboBox's underline? #412
-
How can I remove this line at the bottom of the ComboBox? I don't have much experience in Styles or templates... I see that line should be there due to the presence of "MaterialUnderline" here. What is the right approach to remove it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello. Probably the easy way is to copy the full ComboBox ControlTheme to your app, give it an unique key, remove the underline and use it. The other way is probably hiding the underline via style with selector like this: |
Beta Was this translation helpful? Give feedback.
Hello. Probably the easy way is to copy the full ComboBox ControlTheme to your app, give it an unique key, remove the underline and use it.
The other way is probably hiding the underline via style with selector like this:
ComboBox /template/ namespace|MaterialUnderline#PART_Underline
, and setter to Opacity or IsVisible.