Skip to content

Calendar ignores IsTodayHighlighted property #2332

@bradley-dotnet

Description

@bradley-dotnet

In version 1.2.4 (released) regardless of setting IsTodayHighlighted, today is highlighted. This makes it impossible to determine if it is currently selected. This code:

<Calendar SelectionMode="MultipleRange" DisplayDateStart="{x:Static sys:DateTime.Now}" 
                      IsTodayHighlighted="False"/>

will reproduce the issue. Under my color scheme (done using overrides) it looks like this:
error

Both the 29th and the 30th are selected, but it looks like only the 30th is. I have yet to find a way to override this behavior. (I tried setting AccentColorBrush to Transparent, but because selection uses this brush as well, it breaks when selecting any dates).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions