MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Hide Decoration, Underline in other controls.

Open
#2,760 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement evaluation required
Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

Description

This is related to [Hide underline in textbox #212](https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/issues/212)
Is it possible to implement same/similar solution for combobox and datepicker.
Im adding them into color zone (find it easier and better looking that working with borders etc. The problem is that underline is messing with the looks :)
I Hoped that : `materialDesign:TextFieldAssist.DecorationVisibility="Hidden"` would work, unfortunately it didn't :)

```




```
![image](https://user-images.githubusercontent.com/87186377/177268675-946d21e8-e6c2-491b-a38e-0c6a7b5aee67.png)

For now i have below work around:
```

















```

![image](https://user-images.githubusercontent.com/87186377/177270499-ec7c5bec-5d54-4ed7-a5b5-b9e20facb0ba.png)

But i have to set the calendar margin to Margin="0 -10 0 10" otherwise it's misaligned, but it shows for a split second during opening.

![image](https://user-images.githubusercontent.com/87186377/177270345-fb26f7db-1615-4b03-aecd-aa75765b8f1d.png)

When margin is dropped.

![image](https://user-images.githubusercontent.com/87186377/177270426-0fbd81c1-7ad5-456e-8b49-e04ec81c3bf8.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the DatePicker and ComboBox controls and the TextFieldAssist.DecorationVisibility entry point, comparing their behavior with the textbox solution referenced in issue #212. Reproduce the ColorZone example and check underline visibility, opening alignment, and the attached workaround. Done means both controls support hiding the decoration without the workaround or transient misalignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
design, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.