MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

DatePicker bottom border

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

Nobody has claimed this yet.

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

Description

Is it possible to remove the border at the bottom of a MaterialDesignFilledDatePicker? I can't find a way.
I set the BorderThickness to 0 but the border is still visible.

This should be the same issue as #1813 and it was fixed in v3.2.0 but it look's like the issue is present again.

<DatePicker Style="{StaticResource MaterialDesignFilledDatePicker}"
                    Width="200"
                    Grid.Row="1"
                    VerticalAlignment="Center"
                    HorizontalAlignment="Center"
                    Padding="15"
                    BorderThickness="0"
                    materialDesign:TextFieldAssist.TextFieldCornerRadius="20"
                    materialDesign:TextFieldAssist.DecorationVisibility="Collapsed"
                    materialDesign:TextFieldAssist.RippleOnFocusEnabled="False" />

image

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 by reproducing the issue with the provided DatePicker XAML using the MaterialDesignFilledDatePicker style, then trace that style and its border-related properties. Compare the current behavior with issue #1813 and the v3.2.0 fix. Done means BorderThickness="0" removes the bottom border without breaking the other supplied styling options.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
design, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.