Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Border color property for Dates outside month #49

Open
laxman4434 opened this issue Jul 7, 2021 · 2 comments
Open

Border color property for Dates outside month #49

laxman4434 opened this issue Jul 7, 2021 · 2 comments

Comments

@laxman4434
Copy link

laxman4434 commented Jul 7, 2021

Setting HideSpecialOutOfMonth to true along with DatesBackgroundColorOutsideMonth="White" and DatesTextColorOutsideMonth="White" hides the dates outside month when using special dates.

<controls:Calendar Padding="5,0,5,0" DatesFontSize="16" WeekdaysFontSize="16" ShowNumberOfWeek="false" DatesBackgroundColorOutsideMonth="White" DatesTextColorOutsideMonth="White" StartDay="Monday" BackgroundColor="White" TitleLabelTextColor="#000000" TitleLeftArrowTextColor="#007AFF" TitleRightArrowTextColor="#007AFF" TitleRightArrowText=">" TitleLeftArrowText="&lt;" SelectedDate="{Binding SelectedDate}" SpecialDates="{Binding AvailableDates}" DateCommand="{Binding DateChosenCommand}" BorderWidth="0" BorderColor="White" DisabledBackgroundColor="White" DisabledBorderColor="White" DisabledBorderWidth="0" DisabledTextColor="#949494" OuterBorderWidth="0" SelectedBorderWidth="0" >

Have set BorderWidth = 0 and BorderColor = Color.Transparent for Special dates. So they look fine, but only the dates outside month has border lines (Only in Android).

In Android I see border lines like below.

Android Calendar

Where as iOS is very clean.

iOS Calendar

I was wondering if there is any option like DatesBorderColorOutsideMonth or DatesBorderWidthOutsideMonth, to get rid of those borders for dates outside month

@laxman4434
Copy link
Author

Hi @lubiepomaranczki ,

Any help with the above issue will be a great help. We are approaching the date of app deployment and this is one of the issue that has been pending.

Thanks in advance.

@lubiepomaranczki
Copy link
Owner

Hey @laxman4434,
there is no such thing as DatesBorderColorOutsideMonth or DatesBorderWidthOutsideMonth.

Due to my workload, I won't be able to assist before September. This looks like a bug and I might need to dig in it.
You can either wait, or you can try fixing it on your own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants